package com.wicket.okrpbff.biz.service.impl;
import cn.hutool.core.bean.BeanUtil;
import com.wicket.okrcomponent.integration.dto.ConfSchemeItemResultDto;
import com.wicket.okrcomponent.integration.FwCompConfSchemeClient;
import com.wicket.okrcomponent.integration.dto.*;
import com.wicket.okrframework.integration.FwBaseAppSceneClient;
import com.wicket.okrframework.integration.FwBaseInductionRecordClient;
import com.wicket.okrframework.integration.dto.*;
import com.wicket.okrpbff.biz.service.ConfSchemeService;
import com.wicket.okrpbff.biz.service.dto.common.*;
import com.wicket.okrpbff.biz.service.dto.req.*;
import com.wicket.okrpbff.biz.service.dto.res.*;
import com.wicket.okrpbff.common.dto.TreeNode;
import org.apache.skywalking.apm.toolkit.trace.Tag;
import org.apache.skywalking.apm.toolkit.trace.Tags;
import org.apache.skywalking.apm.toolkit.trace.Trace;
import com.wicket.okrpbff.common.ro.OkrResult;
import com.wicket.okrpbff.common.util.CommonFunctionHelper;
import com.wicket.okrpbff.common.util.RedisUtil;
import org.springframework.stereotype.Service;
import javax.annotation.Resource;
import com.wicket.okrcomponent.integration.FwCompConfSchemeClient;
import com.wicket.okrpbff.biz.service.dto.common.BffConfOptionDto;

import java.util.ArrayList;
import java.util.List;
import java.util.stream.Collectors;
import com.wicket.okrcomponent.integration.dto.AddConfItemOptionRespDto;
import com.wicket.okrcomponent.integration.dto.AddConfItemOptionReqDto;
import com.wicket.okrpbff.common.exception.Assert;
import cn.hutool.core.collection.CollectionUtil;
import com.wicket.okrframework.integration.FwBaseInterfaceModeClient;
import com.wicket.okrcomponent.integration.FwCompInterfaceModeClient;
import com.wicket.okrapp.integration.FwAppInterfaceModeClient;
import com.wicket.okrapp.integration.dto.ImplementSpaceConfPushMemoryAppComRespDto;
import com.wicket.okrapp.integration.dto.ImplementSpaceConfPushMemoryAppComReqDto;
import com.wicket.okrcalc.integration.FwCalcInterfaceModeClient;
import com.wicket.okrcalc.integration.dto.ImplementSpaceConfPushMemoryCalcComRespDto;
import com.wicket.okrcalc.integration.dto.ImplementSpaceConfPushMemoryCalcComReqDto;
import com.wicket.okrfinance.integration.FwFinanceInterfaceModeClient;
import com.wicket.okrfinance.integration.dto.ImplementSpaceConfPushMemoryFinanceComRespDto;
import com.wicket.okrfinance.integration.dto.ImplementSpaceConfPushMemoryFinanceComReqDto;
import com.wicket.okrframework.integration.FwBaseBaseClient;
//import com.wicket.okrapp.integration.FwAppBizAppLoopClient;
import com.wicket.okrapp.integration.dto.ImplementSpaceLoopStartComRespDto;
import com.wicket.okrapp.integration.dto.ImplementSpaceLoopStartComReqDto;
import com.wicket.okrapp.integration.dto.ImplementLoopStopComRespDto;
import com.wicket.okrapp.integration.dto.ImplementLoopStopComReqDto;

/**
 * @author ：
 * @date ：
 *
 *
 * @version 1.0
 */
@Service
public class ConfSchemeServiceImpl implements ConfSchemeService {

    @Resource
    FwCompConfSchemeClient fwCompConfSchemeClient;
    @Resource
    FwBaseInductionRecordClient fwBaseInductionRecordClient;
    @Resource
    FwBaseAppSceneClient fwBaseAppSceneClient;
    @Resource
    private RedisUtil redisUtil;
@Resource
  FwBaseInterfaceModeClient fwBaseInterfaceModeClient;

@Resource
  FwCompInterfaceModeClient fwCompInterfaceModeClient;

@Resource
  FwAppInterfaceModeClient fwAppInterfaceModeClient;

@Resource
  FwCalcInterfaceModeClient fwCalcInterfaceModeClient;

@Resource
  FwFinanceInterfaceModeClient fwFinanceInterfaceModeClient;
@Resource
  FwBaseBaseClient fwBaseBaseClient;

//@Resource
//  FwAppBizAppLoopClient fwAppBizAppLoopClient;

    /**
   * B2-3查询配置项列表（平台）[1961]
   * gen by moon at 10/29/2022, 6:31:36 PM
   */
    @Trace(operationName = "B2-3查询配置项列表（平台）")
    @Tags({@Tag(key = "参数",value = "arg[0]"),
            @Tag(key = "返回值",value = "returnedObj")})
  @Override
  public BffQueryConfItemListRespDto queryConfItemList(BffQueryConfItemListReqDto reqDto){
      
       
       QueryConfItemListRespDto queryConfItemListRespDto_1 =null;
BatchQueryInductionRecordListComRespDto batchQueryInductionRecordListComRespDto_1 =null;
//步骤0: D2-3查询配置项列表 - queryConfItemList
     QueryConfItemListRespDto queryConfItemListRespDto = null;
    QueryConfItemListReqDto queryConfItemListReqDto=new QueryConfItemListReqDto();
  if(reqDto!=null){
      queryConfItemListReqDto.setShortName(reqDto.getShortName());//SimpleFieldAssign//sourceId:59862_1
queryConfItemListReqDto.setApplyTypeCode(reqDto.getApplyTypeCode());//SimpleFieldAssign//sourceId:59861_1
queryConfItemListReqDto.setBizAppCode(reqDto.getBizAppCode());//SimpleFieldAssign//sourceId:59863_1
queryConfItemListReqDto.setBizSceneCode(reqDto.getBizSceneCode());//SimpleFieldAssign//sourceId:388660_1
queryConfItemListReqDto.setConfItemCategory(reqDto.getConfItemCategory());//SimpleFieldAssign//sourceId:59864_1
queryConfItemListReqDto.setIsVisible(reqDto.getIsVisible());//SimpleFieldAssign//sourceId:59866_1
queryConfItemListReqDto.setIsOpenCustomConf(reqDto.getIsOpenCustomConf());//SimpleFieldAssign//sourceId:59867_1
queryConfItemListReqDto.setIsBusiness(reqDto.getIsBusiness());//SimpleFieldAssign//sourceId:59868_1
queryConfItemListReqDto.setIsArchive(reqDto.getIsArchive());//SimpleFieldAssign//sourceId:59865_1
    }
  
    /*D2-3查询配置项列表[2052]   */
    Assert.isNull(queryConfItemListReqDto.getIsArchive(),"B2-3查询配置项列表（平台）-D2-3查询配置项列表-是否存档不能为空",false);
      queryConfItemListRespDto = fwCompConfSchemeClient.queryConfItemList(queryConfItemListReqDto).getData();
      
      
      queryConfItemListRespDto_1 = queryConfItemListRespDto;
    
//步骤1: D1-3批量查询就职记录列表（公共） - batchQueryInductionRecordListCom
     BatchQueryInductionRecordListComRespDto batchQueryInductionRecordListComRespDto = null;
    if(queryConfItemListRespDto !=null){
          BatchQueryInductionRecordListComReqDto batchQueryInductionRecordListComReqDto=new BatchQueryInductionRecordListComReqDto();
  if(queryConfItemListRespDto!=null){
      batchQueryInductionRecordListComReqDto.setPerOrgInductionRecordList(queryConfItemListRespDto.getConfItemList().stream().map(item->item.getOperationInductionId())
        .collect(Collectors.toList()));/*list-to-strings*///sourceId:59870_1
    }
  
    /*D1-3批量查询就职记录列表（公共）[602]   */
    
      batchQueryInductionRecordListComRespDto = fwBaseInductionRecordClient.batchQueryInductionRecordListCom(batchQueryInductionRecordListComReqDto).getData();
      
      
      batchQueryInductionRecordListComRespDto_1 = batchQueryInductionRecordListComRespDto;
           }
    
BffQueryConfItemListRespDto retData = new BffQueryConfItemListRespDto();
  //数据集融合  MoreListToOneSource
        if(queryConfItemListRespDto_1!= null && !CollectionUtil.isEmpty(queryConfItemListRespDto_1.getConfItemList()) ){
          for (ConfItemDto confItemDto : queryConfItemListRespDto_1.getConfItemList()) {
              BffConfItemDto retElm = new BffConfItemDto();
             if(queryConfItemListRespDto_1!=null){
      retElm.setConfItemId(confItemDto.getConfItemId());//SimpleFieldAssign//sourceId:32864_2
retElm.setShortName(confItemDto.getShortName());//SimpleFieldAssign//sourceId:32865_2
retElm.setConfItemCode(confItemDto.getConfItemCode());//SimpleFieldAssign//sourceId:32867_2
retElm.setSubjectLifeCycle(confItemDto.getSubjectLifeCycle());//SimpleFieldAssign//sourceId:32868_2
retElm.setIsArchive(confItemDto.getIsArchive());//SimpleFieldAssign//sourceId:58879_2
retElm.setOperationInductionId(confItemDto.getOperationInductionId());//SimpleFieldAssign//sourceId:32870_2
retElm.setOperateTime(confItemDto.getOperateTime());//SimpleFieldAssign//sourceId:32872_2
    }
              retData.getConfItemList().add(retElm);
               if(batchQueryInductionRecordListComRespDto_1!= null){
          for (PerOrgInductionRecordDto perOrgInductionRecordDto : batchQueryInductionRecordListComRespDto_1.getPerOrgInductionRecordList()) {
                if (perOrgInductionRecordDto.getInductionRecordId().equals(confItemDto.getOperationInductionId())) {
                 if(batchQueryInductionRecordListComRespDto_1!=null){
      retElm.setUserId(perOrgInductionRecordDto.getUserId());//SimpleFieldAssign//sourceId:38928_2
retElm.setUserFace(perOrgInductionRecordDto.getUserFace());//SimpleFieldAssign//sourceId:38931_2
retElm.setIdCardName(perOrgInductionRecordDto.getIdCardName());//SimpleFieldAssign//sourceId:38929_2
retElm.setNickName(perOrgInductionRecordDto.getNickName());//SimpleFieldAssign//sourceId:38930_2
    }
                }
            }
          }
        
          }
        }//sourceId:59880_1
  

  retData.setPageNum(queryConfItemListRespDto.getPageNum());
        retData.setPageSize(queryConfItemListRespDto.getPageSize());
        retData.setTotal(queryConfItemListRespDto.getTotalNum());
        retData.setIsLastPage((Math.ceil(Double.valueOf(queryConfItemListRespDto.getTotalNum()) / Double.valueOf(queryConfItemListRespDto.getPageSize()))) <= retData.getPageNum());
        
  
return retData;
  }

    /**
   * B2-3修改方案下选项配置结果(管理)[3179]
   * gen by moon at 8/26/2022, 12:04:27 PM
   */
    @Trace(operationName = "B2-3修改方案下选项配置结果(管理)")
    @Tags({@Tag(key = "参数",value = "arg[0]"),
            @Tag(key = "返回值",value = "returnedObj")})
  @Override
  public BffUpdateConfItemResultRespDto updateConfItemResult(BffUpdateConfItemResultReqDto reqDto){
      
       
       //步骤0: D2-3修改方案下选项配置结果 - updateConfItemResult
     UpdateConfItemResultRespDto updateConfItemResultRespDto = null;
    UpdateConfItemResultReqDto updateConfItemResultReqDto=new UpdateConfItemResultReqDto();
  if(reqDto!=null){
      updateConfItemResultReqDto.setOptionResultId(reqDto.getOptionResultId());//sourceId:116800_1
updateConfItemResultReqDto.setExtensionField1(reqDto.getExtensionField1());//sourceId:116801_1
updateConfItemResultReqDto.setExtensionField2(reqDto.getExtensionField2());//sourceId:116802_1
updateConfItemResultReqDto.setExtensionField3(reqDto.getExtensionField3());//sourceId:116803_1
updateConfItemResultReqDto.setOptionThrowPlace(reqDto.getOptionThrowPlace());//sourceId:192850_1
    }
  
    /*D2-3修改方案下选项配置结果[3180]   */
    Assert.isNull(updateConfItemResultReqDto.getOptionResultId(),"B2-3修改方案下选项配置结果(管理)-D2-3修改方案下选项配置结果-选项结果ID不能为空",false);
      updateConfItemResultRespDto = fwCompConfSchemeClient.updateConfItemResult(updateConfItemResultReqDto).getData();
      
      
    
BffUpdateConfItemResultRespDto retData = new BffUpdateConfItemResultRespDto();
  
  

  
  
return retData;
  }

    /**
   * B2-3查询答案二次设置详情(管理)[3177]
   * gen by moon at 8/10/2022, 4:35:18 PM
   */
    @Trace(operationName = "B2-3查询答案二次设置详情(管理)")
    @Tags({@Tag(key = "参数",value = "arg[0]"),
            @Tag(key = "返回值",value = "returnedObj")})
  @Override
  public BffQueryConfAnswerSecSetDetailRespDto queryConfAnswerSecSetDetail(BffQueryConfAnswerSecSetDetailReqDto reqDto){
      

       QueryConfAnswerSecSetDetailRespDto queryConfAnswerSecSetDetailRespDto_1 = null;
//步骤0: D2-3查询答案二次设置详情 - queryConfAnswerSecSetDetail
     QueryConfAnswerSecSetDetailRespDto queryConfAnswerSecSetDetailRespDto = null;
    QueryConfAnswerSecSetDetailReqDto queryConfAnswerSecSetDetailReqDto=new QueryConfAnswerSecSetDetailReqDto();
  queryConfAnswerSecSetDetailReqDto.setIsArchive("FALSE");//sourceId:116772_1
if(reqDto!=null){
      queryConfAnswerSecSetDetailReqDto.setOptionResultId(reqDto.getOptionResultId());//sourceId:116770_1
    }

    /*D2-3查询答案二次设置详情[3178]   */
    Assert.isNull(queryConfAnswerSecSetDetailReqDto.getOptionResultId(),"B2-3查询答案二次设置详情(管理)-D2-3查询答案二次设置详情-选项结果ID不能为空",false);
Assert.isNull(queryConfAnswerSecSetDetailReqDto.getIsArchive(),"B2-3查询答案二次设置详情(管理)-D2-3查询答案二次设置详情-是否存档不能为空",false);
      queryConfAnswerSecSetDetailRespDto = fwCompConfSchemeClient.queryConfAnswerSecSetDetail(queryConfAnswerSecSetDetailReqDto).getData();

      queryConfAnswerSecSetDetailRespDto_1 = queryConfAnswerSecSetDetailRespDto;

BffQueryConfAnswerSecSetDetailRespDto retData = new BffQueryConfAnswerSecSetDetailRespDto();
  if(queryConfAnswerSecSetDetailRespDto_1!=null){
      retData.setOptionResultId(queryConfAnswerSecSetDetailRespDto_1.getOptionResultId());//sourceId:116779_1
retData.setExtensionField1(queryConfAnswerSecSetDetailRespDto_1.getExtensionField1());//sourceId:116780_1
retData.setExtensionField2(queryConfAnswerSecSetDetailRespDto_1.getExtensionField2());//sourceId:116781_1
retData.setConfItemClassName(queryConfAnswerSecSetDetailRespDto_1.getConfItemClassName());//sourceId:116782_1
retData.setExtensionField3(queryConfAnswerSecSetDetailRespDto_1.getExtensionField3());//sourceId:116783_1
retData.setOptionThrowPlace(queryConfAnswerSecSetDetailRespDto_1.getOptionThrowPlace());//sourceId:192846_1
    }
  

  
  
return retData;
  }

    /**
   * B2-3批量新增分组下配置项（平台）[2018]
   * gen by moon at 8/18/2022, 10:50:11 PM
   */
    @Trace(operationName = "B2-3批量新增分组下配置项（平台）")
    @Tags({@Tag(key = "参数",value = "arg[0]"),
            @Tag(key = "返回值",value = "returnedObj")})
  @Override
  public BffBatchAddConfClassItemRespDto batchAddConfClassItem(BffBatchAddConfClassItemReqDto reqDto){
      
       
       //步骤0: D2-3批量新增分组下配置项 - batchAddConfClassItem
     BatchAddConfClassItemRespDto batchAddConfClassItemRespDto = null;
    BatchAddConfClassItemReqDto batchAddConfClassItemReqDto=new BatchAddConfClassItemReqDto();
  if(reqDto!=null){
      batchAddConfClassItemReqDto.setConfClassItemList(reqDto.getConfClassItemList().stream().map(item -> BeanUtil.toBean(item, ConfClassItemDto.class)).collect(Collectors.toList()));//sourceId:58984_1
    }
  
    /*D2-3批量新增分组下配置项[2019]   */
    
      batchAddConfClassItemRespDto = fwCompConfSchemeClient.batchAddConfClassItem(batchAddConfClassItemReqDto).getData();
      
      
    
BffBatchAddConfClassItemRespDto retData = new BffBatchAddConfClassItemRespDto();
  
  

  
  
return retData;
  }

    /**
   * B2-3查询配置方案详情(平台）[1972]
   * gen by moon at 8/10/2022, 3:45:02 AM
   */
    @Trace(operationName = "B2-3查询配置方案详情(平台）")
    @Tags({@Tag(key = "参数",value = "arg[0]"),
            @Tag(key = "返回值",value = "returnedObj")})
  @Override
  public BffQueryConfSchemeDetailRespDto queryConfSchemeDetail(BffQueryConfSchemeDetailReqDto reqDto){
      
       
       QueryConfSchemeDetailRespDto queryConfSchemeDetailRespDto_1 = null;
QueryBizSceneDetailRespDto queryBizSceneDetailRespDto_1 = null;
QueryInductionRecordInfoDetailComRespDto queryInductionRecordInfoDetailComRespDto_1 = null;
//步骤0: D2-3查询配置方案详情 - queryConfSchemeDetail
     QueryConfSchemeDetailRespDto queryConfSchemeDetailRespDto = null;
    QueryConfSchemeDetailReqDto queryConfSchemeDetailReqDto=new QueryConfSchemeDetailReqDto();
  if(reqDto!=null){
      queryConfSchemeDetailReqDto.setConfSchemeId(reqDto.getConfSchemeId());//sourceId:58629_1
queryConfSchemeDetailReqDto.setIsArchive(reqDto.getIsArchive());//sourceId:104094_1
    }
  
    /*D2-3查询配置方案详情[1981]   */
    Assert.isNull(queryConfSchemeDetailReqDto.getConfSchemeId(),"B2-3查询配置方案详情(平台）-D2-3查询配置方案详情-配置方案ID 不能为空",false);
Assert.isNull(queryConfSchemeDetailReqDto.getIsArchive(),"B2-3查询配置方案详情(平台）-D2-3查询配置方案详情-是否存档不能为空",false);
      queryConfSchemeDetailRespDto = fwCompConfSchemeClient.queryConfSchemeDetail(queryConfSchemeDetailReqDto).getData();
      
      queryConfSchemeDetailRespDto_1 = queryConfSchemeDetailRespDto;
    
//步骤1: D1-1查询业务场景详情 - queryBizSceneDetail
     QueryBizSceneDetailRespDto queryBizSceneDetailRespDto = null;
    if(queryConfSchemeDetailRespDto !=null){
          QueryBizSceneDetailReqDto queryBizSceneDetailReqDto=new QueryBizSceneDetailReqDto();
  queryBizSceneDetailReqDto.setSubjectLifeCycle("CURRENTLY_VALID");//sourceId:155743_1
if(queryConfSchemeDetailRespDto!=null){
      queryBizSceneDetailReqDto.setBizSceneCode(queryConfSchemeDetailRespDto.getBizSceneCode());//sourceId:155742_1
    }
  
    /*D1-1查询业务场景详情[713]   */
    Assert.isNull(queryBizSceneDetailReqDto.getBizSceneCode(),"B2-3查询配置方案详情(平台）-D1-1查询业务场景详情-业务场景标识不能为空",false);
      queryBizSceneDetailRespDto = fwBaseAppSceneClient.queryBizSceneDetail(queryBizSceneDetailReqDto).getData();
      
      queryBizSceneDetailRespDto_1 = queryBizSceneDetailRespDto;
           }
    
//步骤2: D1-3查询个人就职记录信息详情（公共） - queryInductionRecordInfoDetailCom
     QueryInductionRecordInfoDetailComRespDto queryInductionRecordInfoDetailComRespDto = null;
    if(queryConfSchemeDetailRespDto !=null){
          QueryInductionRecordInfoDetailComReqDto queryInductionRecordInfoDetailComReqDto=new QueryInductionRecordInfoDetailComReqDto();
  if(queryConfSchemeDetailRespDto!=null){
      queryInductionRecordInfoDetailComReqDto.setInductionRecordId(queryConfSchemeDetailRespDto.getOperationInductionId());//sourceId:58661_1
    }
  
    /*D1-3查询个人就职记录信息详情（公共）[715]   */
    Assert.isNull(queryInductionRecordInfoDetailComReqDto.getInductionRecordId(),"B2-3查询配置方案详情(平台）-D1-3查询个人就职记录信息详情（公共）-就职记录ID不能为空",false);
      queryInductionRecordInfoDetailComRespDto = fwBaseInductionRecordClient.queryInductionRecordInfoDetailCom(queryInductionRecordInfoDetailComReqDto).getData();
      
      queryInductionRecordInfoDetailComRespDto_1 = queryInductionRecordInfoDetailComRespDto;
           }
    
BffQueryConfSchemeDetailRespDto retData = new BffQueryConfSchemeDetailRespDto();
  if(queryConfSchemeDetailRespDto_1!=null){
      retData.setConfSchemeId(queryConfSchemeDetailRespDto_1.getConfSchemeId());//sourceId:58646_1
retData.setConfSchemeName(queryConfSchemeDetailRespDto_1.getConfSchemeName());//sourceId:58649_1
retData.setConfSchemeCode(queryConfSchemeDetailRespDto_1.getConfSchemeCode());//sourceId:58647_1
retData.setConfSchemeDes(queryConfSchemeDetailRespDto_1.getConfSchemeDes());//sourceId:58650_1
retData.setBizSceneCode(queryConfSchemeDetailRespDto_1.getBizSceneCode());//sourceId:116610_1
retData.setAuthType(queryConfSchemeDetailRespDto_1.getAuthType());//sourceId:79436_1
retData.setAuthUnit(queryConfSchemeDetailRespDto_1.getAuthUnit());//sourceId:62994_1
retData.setAuthorizationNum(queryConfSchemeDetailRespDto_1.getAuthorizationNum());//sourceId:62995_1
retData.setApplObjType(queryConfSchemeDetailRespDto_1.getApplObjType());//sourceId:58651_1
retData.setConfSchemeTypeCode(queryConfSchemeDetailRespDto_1.getConfSchemeTypeCode());//sourceId:58653_1
retData.setIsInitialScheme(queryConfSchemeDetailRespDto_1.getIsInitialScheme());//sourceId:58654_1
retData.setIsCustom(queryConfSchemeDetailRespDto_1.getIsCustom());//sourceId:58655_1
retData.setIsOpenCustomConf(queryConfSchemeDetailRespDto_1.getIsOpenCustomConf());//sourceId:58656_1
retData.setSubjectLifeCycle(queryConfSchemeDetailRespDto_1.getSubjectLifeCycle());//sourceId:58657_1
retData.setOperationInductionId(queryConfSchemeDetailRespDto_1.getOperationInductionId());//sourceId:58659_1
retData.setOperateTime(queryConfSchemeDetailRespDto_1.getOperateTime());//sourceId:58660_1
    }
if(queryBizSceneDetailRespDto_1!=null){
      retData.setBizSceneName(queryBizSceneDetailRespDto_1.getBizSceneName());//sourceId:155759_1
    }
if(queryInductionRecordInfoDetailComRespDto_1!=null){
      retData.setUserId(queryInductionRecordInfoDetailComRespDto_1.getUserId());//sourceId:58667_1
retData.setUserFace(queryInductionRecordInfoDetailComRespDto_1.getUserFace());//sourceId:58670_1
retData.setIdCardName(queryInductionRecordInfoDetailComRespDto_1.getIdCardName());//sourceId:58668_1
retData.setNickName(queryInductionRecordInfoDetailComRespDto_1.getNickName());//sourceId:58669_1
    }
  

  
  
return retData;
  }

    /**
   * B2-3查询配置方案列表（平台）[1971]
   * gen by moon at 8/10/2022, 3:44:57 AM
   */
    @Trace(operationName = "B2-3查询配置方案列表（平台）")
    @Tags({@Tag(key = "参数",value = "arg[0]"),
            @Tag(key = "返回值",value = "returnedObj")})
  @Override
  public BffQueryConfSchemeListRespDto queryConfSchemeList(BffQueryConfSchemeListReqDto reqDto){
      
       
       QueryConfSchemeListRespDto queryConfSchemeListRespDto_1 = null;
BatchQueryInductionRecordListComRespDto batchQueryInductionRecordListComRespDto_1 = null;
//步骤0: D2-3查询配置方案列表 - queryConfSchemeList
     QueryConfSchemeListRespDto queryConfSchemeListRespDto = null;
    QueryConfSchemeListReqDto queryConfSchemeListReqDto=new QueryConfSchemeListReqDto();
  if(reqDto!=null){
      queryConfSchemeListReqDto.setConfSchemeName(reqDto.getConfSchemeName());//sourceId:60440_1
queryConfSchemeListReqDto.setConfSchemeTypeCode(reqDto.getConfSchemeTypeCode());//sourceId:64491_1
queryConfSchemeListReqDto.setIsInitialScheme(reqDto.getIsInitialScheme());//sourceId:58566_1
queryConfSchemeListReqDto.setIsArchive(reqDto.getIsArchive());//sourceId:58567_1
    }
  
    /*D2-3查询配置方案列表[1980]   */
    Assert.isNull(queryConfSchemeListReqDto.getIsArchive(),"B2-3查询配置方案列表（平台）-D2-3查询配置方案列表-是否存档不能为空",false);
      queryConfSchemeListRespDto = fwCompConfSchemeClient.queryConfSchemeList(queryConfSchemeListReqDto).getData();
      
      queryConfSchemeListRespDto_1 = queryConfSchemeListRespDto;
    
//步骤1: D1-3批量查询就职记录列表（公共） - batchQueryInductionRecordListCom
     BatchQueryInductionRecordListComRespDto batchQueryInductionRecordListComRespDto = null;
    BatchQueryInductionRecordListComReqDto batchQueryInductionRecordListComReqDto=new BatchQueryInductionRecordListComReqDto();
  if(queryConfSchemeListRespDto!=null){
      batchQueryInductionRecordListComReqDto.setPerOrgInductionRecordList(queryConfSchemeListRespDto.getConfSchemeList().stream().map(item->item.getOperationInductionId())
        .collect(Collectors.toList()));//sourceId:58569_1
    }
  
    /*D1-3批量查询就职记录列表（公共）[602]   */
    
      batchQueryInductionRecordListComRespDto = fwBaseInductionRecordClient.batchQueryInductionRecordListCom(batchQueryInductionRecordListComReqDto).getData();
      
      batchQueryInductionRecordListComRespDto_1 = batchQueryInductionRecordListComRespDto;
    
BffQueryConfSchemeListRespDto retData = new BffQueryConfSchemeListRespDto();
  //数据集融合
        if(queryConfSchemeListRespDto_1!= null && !CollectionUtil.isEmpty(queryConfSchemeListRespDto_1.getConfSchemeList())){
          for (ConfSchemeDto confSchemeDto : queryConfSchemeListRespDto_1.getConfSchemeList()) {
              BffConfSchemeDto retElm = new BffConfSchemeDto();
             if(queryConfSchemeListRespDto_1!=null){
      retElm.setConfSchemeId(confSchemeDto.getConfSchemeId());//sourceId:31939_2
retElm.setConfSchemeName(confSchemeDto.getConfSchemeName());//sourceId:31941_2
retElm.setConfSchemeCode(confSchemeDto.getConfSchemeCode());//sourceId:31940_2
retElm.setIsInitialScheme(confSchemeDto.getIsInitialScheme());//sourceId:31945_2
retElm.setSubjectLifeCycle(confSchemeDto.getSubjectLifeCycle());//sourceId:31946_2
retElm.setIsArchive(confSchemeDto.getIsArchive());//sourceId:58874_2
retElm.setOperationInductionId(confSchemeDto.getOperationInductionId());//sourceId:31947_2
retElm.setOperateTime(confSchemeDto.getOperationTime());//sourceId:31948_2
    }
              retData.getConfSchemeList().add(retElm);
               if(batchQueryInductionRecordListComRespDto_1!= null){
          for (PerOrgInductionRecordDto perOrgInductionRecordDto : batchQueryInductionRecordListComRespDto_1.getPerOrgInductionRecordList()) {
                if (perOrgInductionRecordDto.getInductionRecordId().equals(confSchemeDto.getOperationInductionId())) {
                 if(batchQueryInductionRecordListComRespDto_1!=null){
      retElm.setUserId(perOrgInductionRecordDto.getUserId());//sourceId:38950_2
retElm.setUserFace(perOrgInductionRecordDto.getUserFace());//sourceId:38953_2
retElm.setIdCardName(perOrgInductionRecordDto.getIdCardName());//sourceId:38951_2
retElm.setNickName(perOrgInductionRecordDto.getNickName());//sourceId:38952_2
    }
                }
            }
          }
        
          }
        }//sourceId:58574_1
  

  retData.setPageNum(queryConfSchemeListRespDto.getPageNum());
        retData.setPageSize(queryConfSchemeListRespDto.getPageSize());
        retData.setTotal(queryConfSchemeListRespDto.getTotalNum());
        retData.setIsLastPage((Math.ceil(Double.valueOf(queryConfSchemeListRespDto.getTotalNum()) / Double.valueOf(queryConfSchemeListRespDto.getPageSize()))) <= retData.getPageNum());
        
  
return retData;
  }

    /**
   * B2-3修改配置项(平台）[1965]
   * gen by moon at 5/29/2023, 2:29:42 PM
   */
    @Trace(operationName = "B2-3修改配置项(平台）")
    @Tags({@Tag(key = "参数",value = "arg[0]"),
            @Tag(key = "返回值",value = "returnedObj")})
  @Override
  public BffUpdateConfItemRespDto updateConfItem(BffUpdateConfItemReqDto reqDto){
      
       
       //步骤0: D2-3修改配置项 - updateConfItem
     UpdateConfItemRespDto updateConfItemRespDto = null;
    UpdateConfItemReqDto updateConfItemReqDto=new UpdateConfItemReqDto();
  if(reqDto!=null){
      updateConfItemReqDto.setConfItemId(reqDto.getConfItemId());//SimpleFieldAssign//sourceId:60103_1
updateConfItemReqDto.setConfItemCode(reqDto.getConfItemCode());//SimpleFieldAssign//sourceId:60104_1
updateConfItemReqDto.setConfItemName(reqDto.getConfItemName());//SimpleFieldAssign//sourceId:60105_1
updateConfItemReqDto.setShortName(reqDto.getShortName());//SimpleFieldAssign//sourceId:60106_1
updateConfItemReqDto.setConfItemDes(reqDto.getConfItemDes());//SimpleFieldAssign//sourceId:60107_1
updateConfItemReqDto.setApplyTypeCode(reqDto.getApplyTypeCode());//SimpleFieldAssign//sourceId:60108_1
updateConfItemReqDto.setConfItemCategory(reqDto.getConfItemCategory());//SimpleFieldAssign//sourceId:60109_1
updateConfItemReqDto.setIsSingleResult(reqDto.getIsSingleResult());//SimpleFieldAssign//sourceId:106302_1
updateConfItemReqDto.setIsVisible(reqDto.getIsVisible());//SimpleFieldAssign//sourceId:60111_1
updateConfItemReqDto.setIsOpenCustomConf(reqDto.getIsOpenCustomConf());//SimpleFieldAssign//sourceId:60112_1
updateConfItemReqDto.setIsSwitch(reqDto.getIsSwitch());//SimpleFieldAssign//sourceId:60113_1
updateConfItemReqDto.setIsBusiness(reqDto.getIsBusiness());//SimpleFieldAssign//sourceId:60114_1
updateConfItemReqDto.setIsAllowUpdateAnswer(reqDto.getIsAllowUpdateAnswer());//SimpleFieldAssign//sourceId:116053_1
updateConfItemReqDto.setBizAppCode(reqDto.getBizAppCode());//SimpleFieldAssign//sourceId:990446_1
updateConfItemReqDto.setBizSceneCode(reqDto.getBizSceneCode());//SimpleFieldAssign//sourceId:990447_1
    }
  
    /*D2-3修改配置项[2060]   */
    Assert.isNull(updateConfItemReqDto.getConfItemId(),"B2-3修改配置项(平台）-D2-3修改配置项-配置项ID不能为空",false);
      updateConfItemRespDto = fwCompConfSchemeClient.updateConfItem(updateConfItemReqDto).getData()/*vcase invoke 跨dubbo调用;*/;

      
      
    
BffUpdateConfItemRespDto retData = new BffUpdateConfItemRespDto();
  
  

  
  
return retData;
  }

    /**
   * B2-3新增配置项（平台）[1963]
   * gen by moon at 10/24/2022, 9:56:08 PM
   */
    @Trace(operationName = "B2-3新增配置项（平台）")
    @Tags({@Tag(key = "参数",value = "arg[0]"),
            @Tag(key = "返回值",value = "returnedObj")})
  @Override
  public BffAddConfItemRespDto addConfItem(BffAddConfItemReqDto reqDto){
      
       
       AddConfItemRespDto addConfItemRespDto_1 =null;
//步骤0: D2-3新增配置项 - addConfItem
     AddConfItemRespDto addConfItemRespDto = null;
    AddConfItemReqDto addConfItemReqDto=new AddConfItemReqDto();
  addConfItemReqDto.setIsTemporaryLock("FALSE");//sourceId:103556_1
if(reqDto!=null){
      addConfItemReqDto.setConfItemName(reqDto.getConfItemName());//SimpleFieldAssign//sourceId:60054_1
addConfItemReqDto.setShortName(reqDto.getShortName());//SimpleFieldAssign//sourceId:60055_1
addConfItemReqDto.setConfItemCode(reqDto.getConfItemCode());//SimpleFieldAssign//sourceId:60053_1
addConfItemReqDto.setConfItemDes(reqDto.getConfItemDes());//SimpleFieldAssign//sourceId:60056_1
addConfItemReqDto.setApplyTypeCode(reqDto.getApplyTypeCode());//SimpleFieldAssign//sourceId:60057_1
addConfItemReqDto.setConfItemCategory(reqDto.getConfItemCategory());//SimpleFieldAssign//sourceId:60058_1
addConfItemReqDto.setIsVisible(reqDto.getIsVisible());//SimpleFieldAssign//sourceId:60060_1
addConfItemReqDto.setBizAppCode(reqDto.getBizAppCode());//SimpleFieldAssign//sourceId:60059_1
addConfItemReqDto.setBizSceneCode(reqDto.getBizSceneCode());//SimpleFieldAssign//sourceId:388655_1
addConfItemReqDto.setIsSingleResult(reqDto.getIsSingleResult());//SimpleFieldAssign//sourceId:106297_1
addConfItemReqDto.setIsOpenCustomConf(reqDto.getIsOpenCustomConf());//SimpleFieldAssign//sourceId:60061_1
addConfItemReqDto.setIsSwitch(reqDto.getIsSwitch());//SimpleFieldAssign//sourceId:136403_1
addConfItemReqDto.setIsBusiness(reqDto.getIsBusiness());//SimpleFieldAssign//sourceId:60063_1
addConfItemReqDto.setIsAllowUpdateAnswer(reqDto.getIsAllowUpdateAnswer());//SimpleFieldAssign//sourceId:116048_1
    }
  
    /*D2-3新增配置项[2034]   */
    Assert.isNull(addConfItemReqDto.getConfItemName(),"B2-3新增配置项（平台）-D2-3新增配置项-配置项名称不能为空",false);
Assert.isNull(addConfItemReqDto.getShortName(),"B2-3新增配置项（平台）-D2-3新增配置项-配置项简称不能为空",false);
Assert.isNull(addConfItemReqDto.getConfItemCode(),"B2-3新增配置项（平台）-D2-3新增配置项-配置项标识不能为空",false);
Assert.isNull(addConfItemReqDto.getApplyTypeCode(),"B2-3新增配置项（平台）-D2-3新增配置项-适用方案类型不能为空",false);
Assert.isNull(addConfItemReqDto.getConfItemCategory(),"B2-3新增配置项（平台）-D2-3新增配置项-选项类型不能为空",false);
Assert.isNull(addConfItemReqDto.getBizAppCode(),"B2-3新增配置项（平台）-D2-3新增配置项-归属业务应用标识不能为空",false);
Assert.isNull(addConfItemReqDto.getBizSceneCode(),"B2-3新增配置项（平台）-D2-3新增配置项-归属业务场景标识不能为空",false);
Assert.isNull(addConfItemReqDto.getIsSingleResult(),"B2-3新增配置项（平台）-D2-3新增配置项-是否单一结果不能为空",false);
Assert.isNull(addConfItemReqDto.getIsOpenCustomConf(),"B2-3新增配置项（平台）-D2-3新增配置项-是否开启自定义配置不能为空",false);
Assert.isNull(addConfItemReqDto.getIsBusiness(),"B2-3新增配置项（平台）-D2-3新增配置项-是否商业参数不能为空",false);
Assert.isNull(addConfItemReqDto.getIsAllowUpdateAnswer(),"B2-3新增配置项（平台）-D2-3新增配置项-结果是否允许二次设置不能为空",false);
Assert.isNull(addConfItemReqDto.getIsTemporaryLock(),"B2-3新增配置项（平台）-D2-3新增配置项-临时自动锁定不能为空",false);
      addConfItemRespDto = fwCompConfSchemeClient.addConfItem(addConfItemReqDto).getData();
      
      
      addConfItemRespDto_1 = addConfItemRespDto;
    
BffAddConfItemRespDto retData = new BffAddConfItemRespDto();
  if(addConfItemRespDto_1!=null){
      retData.setConfItemId(addConfItemRespDto_1.getConfItemId());//SimpleFieldAssign//sourceId:60076_1
    }
  

  
  
return retData;
  }

    /**
   * B2-3一键重置客户答案（平台）[2141]
   * gen by moon at 12/7/2022, 2:39:03 AM
   */
    @Trace(operationName = "B2-3一键重置客户答案（平台）")
    @Tags({@Tag(key = "参数",value = "arg[0]"),
            @Tag(key = "返回值",value = "returnedObj")})
  @Override
  public BffBatchResetOpenConfItemResultRespDto batchResetOpenConfItemResult(BffBatchResetOpenConfItemResultReqDto reqDto){
      
       
       //步骤0: D2-3一键重置开通方案下选项配置结果 - batchResetOpenConfItemResult
     BatchResetOpenConfItemResultRespDto batchResetOpenConfItemResultRespDto = null;
    BatchResetOpenConfItemResultReqDto batchResetOpenConfItemResultReqDto=new BatchResetOpenConfItemResultReqDto();
  if(reqDto!=null){
      batchResetOpenConfItemResultReqDto.setApplexRelId(reqDto.getApplexRelId());//SimpleFieldAssign//sourceId:314771_1
    }
  
    /*D2-3一键重置开通方案下选项配置结果[2142]   */
    Assert.isNull(batchResetOpenConfItemResultReqDto.getApplexRelId(),"B2-3一键重置客户答案（平台）-D2-3一键重置开通方案下选项配置结果-应用实例配置关系ID不能为空",false);
      batchResetOpenConfItemResultRespDto = fwCompConfSchemeClient.batchResetOpenConfItemResult(batchResetOpenConfItemResultReqDto).getData();
      
      
      
    
BffBatchResetOpenConfItemResultRespDto retData = new BffBatchResetOpenConfItemResultRespDto();
  
  

  
  
return retData;
  }

    /**
   * B2-3查询过滤已开通方案列表(平台）[2109]
   * gen by moon at 9/15/2023, 6:30:24 PM
   */
    @Trace(operationName = "B2-3查询过滤已开通方案列表(平台）")
    @Tags({@Tag(key = "参数",value = "arg[0]"),
            @Tag(key = "返回值",value = "returnedObj")})
  @Override
  public BffQueryFilterSchemeOpenListRespDto queryFilterSchemeOpenList(BffQueryFilterSchemeOpenListReqDto reqDto){
      
       
       QueryFilterSchemeOpenListComRespDto queryFilterSchemeOpenListComRespDto_1 =null;
//步骤0: D2-3查询过滤已开通方案列表(公共) - queryFilterSchemeOpenListCom
     QueryFilterSchemeOpenListComRespDto queryFilterSchemeOpenListComRespDto = null;
    QueryFilterSchemeOpenListComReqDto queryFilterSchemeOpenListComReqDto=new QueryFilterSchemeOpenListComReqDto();
if(reqDto!=null){
      queryFilterSchemeOpenListComReqDto.setTenantSpaceId(reqDto.getTenantSpaceId());//SimpleFieldAssign//sourceId:61233_1
queryFilterSchemeOpenListComReqDto.setConfSchemeName(reqDto.getConfSchemeName());//SimpleFieldAssign//sourceId:61234_1
queryFilterSchemeOpenListComReqDto.setConfSchemeTypeCode(reqDto.getConfSchemeTypeCode());//SimpleFieldAssign//sourceId:61235_1
queryFilterSchemeOpenListComReqDto.setApplObjType(reqDto.getApplObjType());//SimpleFieldAssign//sourceId:61236_1
queryFilterSchemeOpenListComReqDto.setIsInitialScheme(reqDto.getIsInitialScheme());//SimpleFieldAssign//sourceId:61237_1
    }
  
    /*D2-3查询过滤已开通方案列表(公共)[2114]   */
    Assert.isNull(queryFilterSchemeOpenListComReqDto.getTenantSpaceId(),"B2-3查询过滤已开通方案列表(平台）-D2-3查询过滤已开通方案列表(公共)-租户空间ID不能为空",false);
//Assert.isNull(queryFilterSchemeOpenListComReqDto.getConfSchemeTypeCode(),"B2-3查询过滤已开通方案列表(平台）-D2-3查询过滤已开通方案列表(公共)-方案类型编码不能为空",false);
//Assert.isNull(queryFilterSchemeOpenListComReqDto.getApplObjType(),"B2-3查询过滤已开通方案列表(平台）-D2-3查询过滤已开通方案列表(公共)-开通钥匙类型标识不能为空",false);
Assert.isNull(queryFilterSchemeOpenListComReqDto.getIsInitialScheme(),"B2-3查询过滤已开通方案列表(平台）-D2-3查询过滤已开通方案列表(公共)-是否初始方案不能为空",false);
      queryFilterSchemeOpenListComRespDto = fwCompConfSchemeClient.queryFilterSchemeOpenListCom(queryFilterSchemeOpenListComReqDto).getData()/*vcase invoke 跨dubbo调用;*/;
      
      
      queryFilterSchemeOpenListComRespDto_1 = queryFilterSchemeOpenListComRespDto;
    
BffQueryFilterSchemeOpenListRespDto retData = new BffQueryFilterSchemeOpenListRespDto();
  if(queryFilterSchemeOpenListComRespDto_1!=null){
      retData.setConfSchemeList(queryFilterSchemeOpenListComRespDto_1.getConfSchemeList().stream().map(item -> BeanUtil.toBean(item, BffConfSchemeDto.class)).collect(Collectors.toList()));//objList-to-objLists//sourceId:61244_1
    }
  

  
  
return retData;
  }

    /**
   * B2-3删除配置选项(平台)[2069]
   * gen by moon at 8/24/2022, 2:08:32 PM
   */
    @Trace(operationName = "B2-3删除配置选项(平台)")
    @Tags({@Tag(key = "参数",value = "arg[0]"),
            @Tag(key = "返回值",value = "returnedObj")})
  @Override
  public BffDeleteConfOptionRespDto deleteConfOption(BffDeleteConfOptionReqDto reqDto){
      
       
       //步骤0: D2-3删除配置选项 - deleteConfOption
     DeleteConfOptionRespDto deleteConfOptionRespDto = null;
    DeleteConfOptionReqDto deleteConfOptionReqDto=new DeleteConfOptionReqDto();
  if(reqDto!=null){
      deleteConfOptionReqDto.setConfOptionId(reqDto.getConfOptionId());//sourceId:244963_1
    }
  
    /*D2-3删除配置选项[2074]   */
    Assert.isNull(deleteConfOptionReqDto.getConfOptionId(),"B2-3删除配置选项(平台)-D2-3删除配置选项-配置选项ID不能为空",false);
      deleteConfOptionRespDto = fwCompConfSchemeClient.deleteConfOption(deleteConfOptionReqDto).getData();
      
      
    
BffDeleteConfOptionRespDto retData = new BffDeleteConfOptionRespDto();
  
  

  
  
return retData;
  }

    /**
   * B2-3新增配置选项(平台）[2067]
   * gen by moon at 8/10/2022, 3:46:23 AM
   */
    @Trace(operationName = "B2-3新增配置选项(平台）")
    @Tags({@Tag(key = "参数",value = "arg[0]"),
            @Tag(key = "返回值",value = "returnedObj")})
  @Override
  public BffAddConfOptionRespDto addConfOption(BffAddConfOptionReqDto reqDto){
      
       
       AddConfOptionRespDto addConfOptionRespDto_1 = null;
//步骤0: D2-3新增配置选项 - addConfOption
     AddConfOptionRespDto addConfOptionRespDto = null;
    AddConfOptionReqDto addConfOptionReqDto=new AddConfOptionReqDto();
  addConfOptionReqDto.setIsTemporaryLock("FALSE");//sourceId:103559_1
if(reqDto!=null){
      addConfOptionReqDto.setConfOptionCode(reqDto.getConfOptionCode());//sourceId:60406_1
addConfOptionReqDto.setConfOptionName(reqDto.getConfOptionName());//sourceId:60407_1
addConfOptionReqDto.setConfOptionDes(reqDto.getConfOptionDes());//sourceId:103467_1
    }
  
    /*D2-3新增配置选项[2073]   */
    Assert.isNull(addConfOptionReqDto.getConfOptionCode(),"B2-3新增配置选项(平台）-D2-3新增配置选项-配置选项标识不能为空",false);
Assert.isNull(addConfOptionReqDto.getConfOptionName(),"B2-3新增配置选项(平台）-D2-3新增配置选项-配置选项名称不能为空",false);
Assert.isNull(addConfOptionReqDto.getIsTemporaryLock(),"B2-3新增配置选项(平台）-D2-3新增配置选项-临时自动锁定不能为空",false);
      addConfOptionRespDto = fwCompConfSchemeClient.addConfOption(addConfOptionReqDto).getData();
      
      addConfOptionRespDto_1 = addConfOptionRespDto;
    
BffAddConfOptionRespDto retData = new BffAddConfOptionRespDto();
  if(addConfOptionRespDto_1!=null){
      retData.setConfOptionId(addConfOptionRespDto_1.getConfOptionId());//sourceId:60413_1
    }
  

  
  
return retData;
  }

    /**
   * B2-3发布生效配置选项(平台）[2066]
   * gen by moon at 8/10/2022, 3:46:21 AM
   */
    @Trace(operationName = "B2-3发布生效配置选项(平台）")
    @Tags({@Tag(key = "参数",value = "arg[0]"),
            @Tag(key = "返回值",value = "returnedObj")})
  @Override
  public BffReleaseConfOptionRespDto releaseConfOption(BffReleaseConfOptionReqDto reqDto){
      
       
       //步骤0: D2-3发布配置选项 - releaseConfOption
     ReleaseConfOptionRespDto releaseConfOptionRespDto = null;
    ReleaseConfOptionReqDto releaseConfOptionReqDto=new ReleaseConfOptionReqDto();
  if(reqDto!=null){
      releaseConfOptionReqDto.setConfOptionId(reqDto.getConfOptionId());//sourceId:60396_1
    }
  
    /*D2-3发布配置选项[2072]   */
    Assert.isNull(releaseConfOptionReqDto.getConfOptionId(),"B2-3发布生效配置选项(平台）-D2-3发布配置选项-配置选项ID不能为空",false);
      releaseConfOptionRespDto = fwCompConfSchemeClient.releaseConfOption(releaseConfOptionReqDto).getData();
      
      
    
BffReleaseConfOptionRespDto retData = new BffReleaseConfOptionRespDto();
  
  

  
  
return retData;
  }

    /**
   * B2-3查询配置选项详情（平台）[2065]
   * gen by moon at 8/10/2022, 3:46:16 AM
   */
    @Trace(operationName = "B2-3查询配置选项详情（平台）")
    @Tags({@Tag(key = "参数",value = "arg[0]"),
            @Tag(key = "返回值",value = "returnedObj")})
  @Override
  public BffQueryConfOptionDetailRespDto queryConfOptionDetail(BffQueryConfOptionDetailReqDto reqDto){
      
       
       QueryConfOptionDetailRespDto queryConfOptionDetailRespDto_1 = null;
QueryInductionRecordInfoDetailComRespDto queryInductionRecordInfoDetailComRespDto_1 = null;
//步骤0: D2-3查询配置选项详情 - queryConfOptionDetail
     QueryConfOptionDetailRespDto queryConfOptionDetailRespDto = null;
    QueryConfOptionDetailReqDto queryConfOptionDetailReqDto=new QueryConfOptionDetailReqDto();
  if(reqDto!=null){
      queryConfOptionDetailReqDto.setConfOptionId(reqDto.getConfOptionId());//sourceId:60359_1
queryConfOptionDetailReqDto.setIsArchive(reqDto.getIsArchive());//sourceId:103550_1
    }
  
    /*D2-3查询配置选项详情[2071]   */
    Assert.isNull(queryConfOptionDetailReqDto.getConfOptionId(),"B2-3查询配置选项详情（平台）-D2-3查询配置选项详情-配置选项ID不能为空",false);
Assert.isNull(queryConfOptionDetailReqDto.getIsArchive(),"B2-3查询配置选项详情（平台）-D2-3查询配置选项详情-是否存档不能为空",false);
      queryConfOptionDetailRespDto = fwCompConfSchemeClient.queryConfOptionDetail(queryConfOptionDetailReqDto).getData();
      
      queryConfOptionDetailRespDto_1 = queryConfOptionDetailRespDto;
    
//步骤1: D1-3查询个人就职记录信息详情（公共） - queryInductionRecordInfoDetailCom
     QueryInductionRecordInfoDetailComRespDto queryInductionRecordInfoDetailComRespDto = null;
    if(queryConfOptionDetailRespDto !=null){
          QueryInductionRecordInfoDetailComReqDto queryInductionRecordInfoDetailComReqDto=new QueryInductionRecordInfoDetailComReqDto();
  if(queryConfOptionDetailRespDto!=null){
      queryInductionRecordInfoDetailComReqDto.setInductionRecordId(queryConfOptionDetailRespDto.getOperationInductionId());//sourceId:60379_1
    }
  
    /*D1-3查询个人就职记录信息详情（公共）[715]   */
    Assert.isNull(queryInductionRecordInfoDetailComReqDto.getInductionRecordId(),"B2-3查询配置选项详情（平台）-D1-3查询个人就职记录信息详情（公共）-就职记录ID不能为空",false);
      queryInductionRecordInfoDetailComRespDto = fwBaseInductionRecordClient.queryInductionRecordInfoDetailCom(queryInductionRecordInfoDetailComReqDto).getData();
      
      queryInductionRecordInfoDetailComRespDto_1 = queryInductionRecordInfoDetailComRespDto;
           }
    
BffQueryConfOptionDetailRespDto retData = new BffQueryConfOptionDetailRespDto();
  if(queryConfOptionDetailRespDto_1!=null){
      retData.setConfOptionId(queryConfOptionDetailRespDto_1.getConfOptionId());//sourceId:60370_1
retData.setConfOptionCode(queryConfOptionDetailRespDto_1.getConfOptionCode());//sourceId:60371_1
retData.setConfOptionName(queryConfOptionDetailRespDto_1.getConfOptionName());//sourceId:60372_1
retData.setConfOptionDes(queryConfOptionDetailRespDto_1.getConfOptionDes());//sourceId:60373_1
retData.setIsTemporaryLock(queryConfOptionDetailRespDto_1.getIsTemporaryLock());//sourceId:60375_1
retData.setSubjectLifeCycle(queryConfOptionDetailRespDto_1.getSubjectLifeCycle());//sourceId:60374_1
retData.setOperationInductionId(queryConfOptionDetailRespDto_1.getOperationInductionId());//sourceId:60376_1
retData.setOperateTime(queryConfOptionDetailRespDto_1.getOperationTime());//sourceId:60378_1
retData.setCreateInductionId(queryConfOptionDetailRespDto_1.getCreateInductionId());//sourceId:60377_1
    }
if(queryInductionRecordInfoDetailComRespDto_1!=null){
      retData.setUserId(queryInductionRecordInfoDetailComRespDto_1.getUserId());//sourceId:60385_1
retData.setUserFace(queryInductionRecordInfoDetailComRespDto_1.getUserFace());//sourceId:60388_1
retData.setIdCardName(queryInductionRecordInfoDetailComRespDto_1.getIdCardName());//sourceId:60386_1
retData.setNickName(queryInductionRecordInfoDetailComRespDto_1.getNickName());//sourceId:60387_1
    }
  

  
  
return retData;
  }

    /**
   * B2-3查询配置选项列表（平台）[2064]
   * gen by moon at 8/17/2022, 8:03:59 PM
   */
    @Trace(operationName = "B2-3查询配置选项列表（平台）")
    @Tags({@Tag(key = "参数",value = "arg[0]"),
            @Tag(key = "返回值",value = "returnedObj")})
  @Override
  public BffQueryConfOptionListRespDto queryConfOptionList(BffQueryConfOptionListReqDto reqDto){
      
       
       QueryConfOptionListRespDto queryConfOptionListRespDto_1 = null;
BatchQueryInductionRecordListComRespDto batchQueryInductionRecordListComRespDto_1 = null;
//步骤0: D2-3查询配置选项列表 - queryConfOptionList
     QueryConfOptionListRespDto queryConfOptionListRespDto = null;
    QueryConfOptionListReqDto queryConfOptionListReqDto=new QueryConfOptionListReqDto();
  if(reqDto!=null){
      queryConfOptionListReqDto.setConfOptionName(reqDto.getConfOptionName());//sourceId:60204_1
queryConfOptionListReqDto.setIsArchive(reqDto.getIsArchive());//sourceId:60205_1
    }
  
    /*D2-3查询配置选项列表[2070]   */
    Assert.isNull(queryConfOptionListReqDto.getIsArchive(),"B2-3查询配置选项列表（平台）-D2-3查询配置选项列表-是否存档不能为空",false);
      queryConfOptionListRespDto = fwCompConfSchemeClient.queryConfOptionList(queryConfOptionListReqDto).getData();
      
      queryConfOptionListRespDto_1 = queryConfOptionListRespDto;
    
//步骤1: D1-3批量查询就职记录列表（公共） - batchQueryInductionRecordListCom
     BatchQueryInductionRecordListComRespDto batchQueryInductionRecordListComRespDto = null;
    if(queryConfOptionListRespDto !=null){
          BatchQueryInductionRecordListComReqDto batchQueryInductionRecordListComReqDto=new BatchQueryInductionRecordListComReqDto();
  if(queryConfOptionListRespDto!=null){
      batchQueryInductionRecordListComReqDto.setPerOrgInductionRecordList(queryConfOptionListRespDto.getConfOptionList().stream().map(item->item.getOperationInductionId())
        .collect(Collectors.toList()));//sourceId:66567_1
    }
  
    /*D1-3批量查询就职记录列表（公共）[602]   */
    
      batchQueryInductionRecordListComRespDto = fwBaseInductionRecordClient.batchQueryInductionRecordListCom(batchQueryInductionRecordListComReqDto).getData();
      
      batchQueryInductionRecordListComRespDto_1 = batchQueryInductionRecordListComRespDto;
           }
    
BffQueryConfOptionListRespDto retData = new BffQueryConfOptionListRespDto();
  //数据集融合
        if(queryConfOptionListRespDto_1!= null && !CollectionUtil.isEmpty(queryConfOptionListRespDto_1.getConfOptionList())){
          for (ConfOptionDto confOptionDto : queryConfOptionListRespDto_1.getConfOptionList()) {
              BffConfOptionDto retElm = new BffConfOptionDto();
             if(queryConfOptionListRespDto_1!=null){
      retElm.setConfOptionId(confOptionDto.getConfOptionId());//sourceId:33239_2
retElm.setConfOptionCode(confOptionDto.getConfOptionCode());//sourceId:33240_2
retElm.setConfOptionName(confOptionDto.getConfOptionName());//sourceId:33241_2
retElm.setSubjectLifeCycle(confOptionDto.getSubjectLifeCycle());//sourceId:33242_2
retElm.setOperationInductionId(confOptionDto.getOperationInductionId());//sourceId:33243_2
retElm.setOperateTime(confOptionDto.getOperationTime());//sourceId:33244_2
retElm.setIsArchive(confOptionDto.getIsArchive());//sourceId:58884_2
    }
              retData.getConfOptionList().add(retElm);
               if(batchQueryInductionRecordListComRespDto_1!= null){
          for (PerOrgInductionRecordDto perOrgInductionRecordDto : batchQueryInductionRecordListComRespDto_1.getPerOrgInductionRecordList()) {
                if (perOrgInductionRecordDto.getInductionRecordId().equals(confOptionDto.getOperationInductionId())) {
                 if(batchQueryInductionRecordListComRespDto_1!=null){
      retElm.setUserId(perOrgInductionRecordDto.getUserId());//sourceId:38996_2
retElm.setUserFace(perOrgInductionRecordDto.getUserFace());//sourceId:38999_2
retElm.setIdCardName(perOrgInductionRecordDto.getIdCardName());//sourceId:38997_2
retElm.setNickName(perOrgInductionRecordDto.getNickName());//sourceId:38998_2
    }
                }
            }
          }
        
          }
        }//sourceId:60213_1
  

  retData.setPageNum(queryConfOptionListRespDto.getPageNum());
        retData.setPageSize(queryConfOptionListRespDto.getPageSize());
        retData.setTotal(queryConfOptionListRespDto.getTotalNum());
        retData.setIsLastPage((Math.ceil(Double.valueOf(queryConfOptionListRespDto.getTotalNum()) / Double.valueOf(queryConfOptionListRespDto.getPageSize()))) <= retData.getPageNum());
        
  
return retData;
  }

    /**
   * B2-3发布配置项(平台）[2058]
   * gen by moon at 8/10/2022, 3:46:07 AM
   */
    @Trace(operationName = "B2-3发布配置项(平台）")
    @Tags({@Tag(key = "参数",value = "arg[0]"),
            @Tag(key = "返回值",value = "returnedObj")})
  @Override
  public BffReleaseConfItemRespDto releaseConfItem(BffReleaseConfItemReqDto reqDto){
      
       
       //步骤0: D2-3发布配置项 - releaseConfItem
     ReleaseConfItemRespDto releaseConfItemRespDto = null;
    ReleaseConfItemReqDto releaseConfItemReqDto=new ReleaseConfItemReqDto();
  if(reqDto!=null){
      releaseConfItemReqDto.setConfItemId(reqDto.getConfItemId());//sourceId:60049_1
    }
  
    /*D2-3发布配置项[2059]   */
    Assert.isNull(releaseConfItemReqDto.getConfItemId(),"B2-3发布配置项(平台）-D2-3发布配置项-配置项ID不能为空",false);
      releaseConfItemRespDto = fwCompConfSchemeClient.releaseConfItem(releaseConfItemReqDto).getData();
      
      
    
BffReleaseConfItemRespDto retData = new BffReleaseConfItemRespDto();
  
  

  
  
return retData;
  }

    /**
   * B2-3存档配置方案(平台）[2048]
   * gen by moon at 8/10/2022, 3:46:02 AM
   */
    @Trace(operationName = "B2-3存档配置方案(平台）")
    @Tags({@Tag(key = "参数",value = "arg[0]"),
            @Tag(key = "返回值",value = "returnedObj")})
  @Override
  public BffArchiveConfSchemeRespDto archiveConfScheme(BffArchiveConfSchemeReqDto reqDto){
      
       
       //步骤0: D2-3存档配置方案 - archiveConfScheme
     ArchiveConfSchemeRespDto archiveConfSchemeRespDto = null;
    ArchiveConfSchemeReqDto archiveConfSchemeReqDto=new ArchiveConfSchemeReqDto();
  if(reqDto!=null){
      archiveConfSchemeReqDto.setConfSchemeId(reqDto.getConfSchemeId());//sourceId:59703_1
    }
  
    /*D2-3存档配置方案[2049]   */
    Assert.isNull(archiveConfSchemeReqDto.getConfSchemeId(),"B2-3存档配置方案(平台）-D2-3存档配置方案-配置方案ID 不能为空",false);
      archiveConfSchemeRespDto = fwCompConfSchemeClient.archiveConfScheme(archiveConfSchemeReqDto).getData();
      
      
    
BffArchiveConfSchemeRespDto retData = new BffArchiveConfSchemeRespDto();
  
  

  
  
return retData;
  }

    /**
   * B2-3发布配置方案(平台）[2039]
   * gen by moon at 9/9/2022, 4:35:48 AM
   */
    @Trace(operationName = "B2-3发布配置方案(平台）")
    @Tags({@Tag(key = "参数",value = "arg[0]"),
            @Tag(key = "返回值",value = "returnedObj")})
  @Override
  public BffReleaseConfSchemeRespDto releaseConfScheme(BffReleaseConfSchemeReqDto reqDto){
      
       
       //步骤0: D2-3发布配置方案 - releaseConfScheme
     ReleaseConfSchemeRespDto releaseConfSchemeRespDto = null;
    ReleaseConfSchemeReqDto releaseConfSchemeReqDto=new ReleaseConfSchemeReqDto();
  if(reqDto!=null){
      releaseConfSchemeReqDto.setConfSchemeId(reqDto.getConfSchemeId());//sourceId:59666_1
    }
  
    /*D2-3发布配置方案[2040]   */
    Assert.isNull(releaseConfSchemeReqDto.getConfSchemeId(),"B2-3发布配置方案(平台）-D2-3发布配置方案-配置方案ID 不能为空",false);
      releaseConfSchemeRespDto = fwCompConfSchemeClient.releaseConfScheme(releaseConfSchemeReqDto).getData();
      
      
      
    
BffReleaseConfSchemeRespDto retData = new BffReleaseConfSchemeRespDto();
  
  

  
  
return retData;
  }

    /**
   * B2-3设置平台单题标准答案（平台）[2028]
   * gen by moon at 6/18/2024, 2:28:58 AM
   */
    @Trace(operationName = "B2-3设置平台单题标准答案（平台）")
    @Tags({@Tag(key = "参数",value = "arg[0]"),
            @Tag(key = "返回值",value = "returnedObj")})
  @Override
  public BffSetConfSchemeItemResultRespDto setConfSchemeItemResult(BffSetConfSchemeItemResultReqDto reqDto){
      
       
       //步骤0: D2-3设置方案下选项配置结果 - setConfSchemeItemResult
     SetConfSchemeItemResultRespDto setConfSchemeItemResultRespDto = null;
    SetConfSchemeItemResultReqDto setConfSchemeItemResultReqDto=new SetConfSchemeItemResultReqDto();
setConfSchemeItemResultReqDto.setSubjectLifeCycle("EDITING");//sourceId:310661_1
if(reqDto!= null&&  reqDto.getConfItemResultList() !=null&& !CollectionUtil.isEmpty(reqDto.getConfItemResultList())){
      setConfSchemeItemResultReqDto.setConfItemResultList(reqDto.getConfItemResultList().stream().map(item -> BeanUtil.toBean(item, ConfItemResultDto.class)).collect(Collectors.toList()));//objList-to-objLists//sourceId:1874793_1
    }
if(reqDto!=null){
      setConfSchemeItemResultReqDto.setConfItemCategory(reqDto.getConfItemCategory());//SimpleFieldAssign//sourceId:1874820_1
      setConfSchemeItemResultReqDto.setClassConfItemId(reqDto.getClassConfItemId());//SimpleFieldAssign//sourceId:310657_1
    }
  
    /*D2-3设置方案下选项配置结果[2029]   */
    Assert.isNull(setConfSchemeItemResultReqDto.getConfItemCategory(),"B2-3设置平台单题标准答案（平台）-D2-3设置方案下选项配置结果-选项类型不能为空",false);
Assert.isNull(setConfSchemeItemResultReqDto.getClassConfItemId(),"B2-3设置平台单题标准答案（平台）-D2-3设置方案下选项配置结果-配置项关系ID不能为空",false);
Assert.isNull(setConfSchemeItemResultReqDto.getSubjectLifeCycle(),"B2-3设置平台单题标准答案（平台）-D2-3设置方案下选项配置结果-主体生命周期不能为空",false);
      setConfSchemeItemResultRespDto = fwCompConfSchemeClient.setConfSchemeItemResult(setConfSchemeItemResultReqDto).getData()/*vcase invoke 跨dubbo调用;*/;
      
      
      
    
BffSetConfSchemeItemResultRespDto retData = new BffSetConfSchemeItemResultRespDto();
  
  

  
  
return retData;
  }

    /**
   * B2-3删除分组下配置项(平台）[2025]
   * gen by moon at 8/27/2022, 3:01:04 PM
   */
    @Trace(operationName = "B2-3删除分组下配置项(平台）")
    @Tags({@Tag(key = "参数",value = "arg[0]"),
            @Tag(key = "返回值",value = "returnedObj")})
  @Override
  public BffDeleteConfClassItemRespDto deleteConfClassItem(BffDeleteConfClassItemReqDto reqDto){
      
       
       //步骤0: D2-3删除分组下配置项 - deleteConfClassItem
     DeleteConfClassItemRespDto deleteConfClassItemRespDto = null;
    DeleteConfClassItemReqDto deleteConfClassItemReqDto=new DeleteConfClassItemReqDto();
  if(reqDto!=null){
      deleteConfClassItemReqDto.setConfSchemeCode(reqDto.getConfSchemeCode());//sourceId:59044_1
deleteConfClassItemReqDto.setClassConfItemId(reqDto.getClassConfItemId());//sourceId:59045_1
deleteConfClassItemReqDto.setConfItemId(reqDto.getConfItemId());//sourceId:64731_1
    }
  
    /*D2-3删除分组下配置项[2026]   */
    Assert.isNull(deleteConfClassItemReqDto.getConfSchemeCode(),"B2-3删除分组下配置项(平台）-D2-3删除分组下配置项-配置方案标识不能为空",false);
Assert.isNull(deleteConfClassItemReqDto.getClassConfItemId(),"B2-3删除分组下配置项(平台）-D2-3删除分组下配置项-分组配置项ID不能为空",false);
Assert.isNull(deleteConfClassItemReqDto.getConfItemId(),"B2-3删除分组下配置项(平台）-D2-3删除分组下配置项-配置项ID不能为空",false);
      deleteConfClassItemRespDto = fwCompConfSchemeClient.deleteConfClassItem(deleteConfClassItemReqDto).getData();
      
      
    
BffDeleteConfClassItemRespDto retData = new BffDeleteConfClassItemRespDto();
  
  

  
  
return retData;
  }

    /**
   * B2-3查询过滤方案下配置项列表（平台）[2021]
   * gen by moon at 8/10/2022, 3:45:44 AM
   */
    @Trace(operationName = "B2-3查询过滤方案下配置项列表（平台）")
    @Tags({@Tag(key = "参数",value = "arg[0]"),
            @Tag(key = "返回值",value = "returnedObj")})
  @Override
  public BffQueryFilterConfItemSchemeListRespDto queryFilterConfItemSchemeList(BffQueryFilterConfItemSchemeListReqDto reqDto){
      
       
       QueryFilterConfItemSchemeListRespDto queryFilterConfItemSchemeListRespDto_1 = null;
//步骤0: D2-3查询过滤方案下配置项列表 - queryFilterConfItemSchemeList
     QueryFilterConfItemSchemeListRespDto queryFilterConfItemSchemeListRespDto = null;
    QueryFilterConfItemSchemeListReqDto queryFilterConfItemSchemeListReqDto=new QueryFilterConfItemSchemeListReqDto();
  if(reqDto!=null){
      queryFilterConfItemSchemeListReqDto.setConfSchemeId(reqDto.getConfSchemeId());//sourceId:59021_1
queryFilterConfItemSchemeListReqDto.setApplyTypeCode(reqDto.getApplyTypeCode());//sourceId:59022_1
queryFilterConfItemSchemeListReqDto.setShortName(reqDto.getShortName());//sourceId:59020_1
queryFilterConfItemSchemeListReqDto.setConfItemCategory(reqDto.getConfItemCategory());//sourceId:59031_1
    }
  
    /*D2-3查询过滤方案下配置项列表[2022]   */
    Assert.isNull(queryFilterConfItemSchemeListReqDto.getConfSchemeId(),"B2-3查询过滤方案下配置项列表（平台）-D2-3查询过滤方案下配置项列表-所属配置方案ID不能为空",false);
Assert.isNull(queryFilterConfItemSchemeListReqDto.getApplyTypeCode(),"B2-3查询过滤方案下配置项列表（平台）-D2-3查询过滤方案下配置项列表-适用方案类型不能为空",false);
      queryFilterConfItemSchemeListRespDto = fwCompConfSchemeClient.queryFilterConfItemSchemeList(queryFilterConfItemSchemeListReqDto).getData();
      
      queryFilterConfItemSchemeListRespDto_1 = queryFilterConfItemSchemeListRespDto;
    
BffQueryFilterConfItemSchemeListRespDto retData = new BffQueryFilterConfItemSchemeListRespDto();
  if(queryFilterConfItemSchemeListRespDto_1!=null){
      retData.setConfItemList(queryFilterConfItemSchemeListRespDto_1.getConfItemList().stream().map(item -> BeanUtil.toBean(item, BffConfItemDto.class)).collect(Collectors.toList()));//sourceId:59028_1
    }
  

  
  
return retData;
  }

    /**
   * B2-3新增分组下配置项(平台）[2017]
   * gen by moon at 8/10/2022, 3:45:35 AM
   */
    @Trace(operationName = "B2-3新增分组下配置项(平台）")
    @Tags({@Tag(key = "参数",value = "arg[0]"),
            @Tag(key = "返回值",value = "returnedObj")})
  @Override
  public BffAddConfClassItemRespDto addConfClassItem(BffAddConfClassItemReqDto reqDto){
      
       
//       AddConfClassItemRespDto addConfClassItemRespDto_1 = null;
////步骤0: D2-3新增分组下配置项 - addConfClassItem
//     AddConfClassItemRespDto addConfClassItemRespDto = null;
//    AddConfClassItemReqDto addConfClassItemReqDto=new AddConfClassItemReqDto();
//  if(reqDto!=null){
//      addConfClassItemReqDto.setConfItemClassId(reqDto.getConfItemClassId());//sourceId:63067_1
//addConfClassItemReqDto.setConfItemCode(reqDto.getConfItemCode());//sourceId:62524_1
//addConfClassItemReqDto.setConfItemClassCode(reqDto.getConfItemClassCode());//sourceId:67418_1
//addConfClassItemReqDto.setConfItemName(reqDto.getConfItemName());//sourceId:62525_1
//addConfClassItemReqDto.setShortName(reqDto.getShortName());//sourceId:62526_1
//addConfClassItemReqDto.setConfSchemeId(reqDto.getConfSchemeId());//sourceId:62527_1
//addConfClassItemReqDto.setConfItemDes(reqDto.getConfItemDes());//sourceId:62528_1
//addConfClassItemReqDto.setConfSchemeCode(reqDto.getConfSchemeCode());//sourceId:62529_1
//addConfClassItemReqDto.setApplyTypeCode(reqDto.getApplyTypeCode());//sourceId:62530_1
//addConfClassItemReqDto.setConfItemCategory(reqDto.getConfItemCategory());//sourceId:62531_1
//addConfClassItemReqDto.setBizAppId(reqDto.getBizAppId());//sourceId:62532_1
//addConfClassItemReqDto.setIsVisible(reqDto.getIsVisible());//sourceId:62533_1
//addConfClassItemReqDto.setIsOpenCustomConf(reqDto.getIsOpenCustomConf());//sourceId:62534_1
//addConfClassItemReqDto.setIsSwitch(reqDto.getIsSwitch());//sourceId:136371_1
//addConfClassItemReqDto.setIsBusiness(reqDto.getIsBusiness());//sourceId:62536_1
//addConfClassItemReqDto.setOrderNumber(reqDto.getOrderNumber());//sourceId:62537_1
//addConfClassItemReqDto.setConfOptionList(reqDto.getConfOptionList().stream().map(item -> BeanUtil.toBean(item, ConfOptionDto.class)).collect(Collectors.toList()));//sourceId:62538_1
//addConfClassItemReqDto.setConfItemOptionList(reqDto.getConfItemOptionList());//sourceId:62539_1
//    }
//
//    /*D2-3新增分组下配置项[2035]   */
//    Assert.isNull(addConfClassItemReqDto.getConfItemClassId(),"B2-3新增分组下配置项(平台）-D2-3新增分组下配置项-所属配置项分组ID不能为空",false);
//Assert.isNull(addConfClassItemReqDto.getConfItemCode(),"B2-3新增分组下配置项(平台）-D2-3新增分组下配置项-配置项标识不能为空",false);
//Assert.isNull(addConfClassItemReqDto.getConfItemClassCode(),"B2-3新增分组下配置项(平台）-D2-3新增分组下配置项-所属配置项分组标识不能为空",false);
//Assert.isNull(addConfClassItemReqDto.getConfItemName(),"B2-3新增分组下配置项(平台）-D2-3新增分组下配置项-配置项名称不能为空",false);
//Assert.isNull(addConfClassItemReqDto.getShortName(),"B2-3新增分组下配置项(平台）-D2-3新增分组下配置项-配置项简称不能为空",false);
//Assert.isNull(addConfClassItemReqDto.getConfSchemeId(),"B2-3新增分组下配置项(平台）-D2-3新增分组下配置项-所属配置方案ID不能为空",false);
//Assert.isNull(addConfClassItemReqDto.getConfSchemeCode(),"B2-3新增分组下配置项(平台）-D2-3新增分组下配置项-所属配置方案标识不能为空",false);
//Assert.isNull(addConfClassItemReqDto.getApplyTypeCode(),"B2-3新增分组下配置项(平台）-D2-3新增分组下配置项-适用方案类型不能为空",false);
//Assert.isNull(addConfClassItemReqDto.getConfItemCategory(),"B2-3新增分组下配置项(平台）-D2-3新增分组下配置项-选项类型不能为空",false);
//Assert.isNull(addConfClassItemReqDto.getBizAppId(),"B2-3新增分组下配置项(平台）-D2-3新增分组下配置项-归属业务应用不能为空",false);
//Assert.isNull(addConfClassItemReqDto.getIsOpenCustomConf(),"B2-3新增分组下配置项(平台）-D2-3新增分组下配置项-是否开启自定义配置不能为空",false);
//Assert.isNull(addConfClassItemReqDto.getIsBusiness(),"B2-3新增分组下配置项(平台）-D2-3新增分组下配置项-是否商业参数不能为空",false);
//Assert.isNull(addConfClassItemReqDto.getOrderNumber(),"B2-3新增分组下配置项(平台）-D2-3新增分组下配置项-排序不能为空",false);
//      addConfClassItemRespDto = fwCompConfSchemeClient.addConfClassItem(addConfClassItemReqDto).getData();
//
//      addConfClassItemRespDto_1 = addConfClassItemRespDto;
//
BffAddConfClassItemRespDto retData = new BffAddConfClassItemRespDto();
//  if(addConfClassItemRespDto_1!=null){
//      retData.setConfItemId(addConfClassItemRespDto_1.getConfItemId());//sourceId:62558_1
//retData.setConfOptionList(addConfClassItemRespDto_1.getConfOptionList());//sourceId:62556_1
//retData.setConfItemOptionList(addConfClassItemRespDto_1.getConfItemOptionList());//sourceId:62557_1
//retData.setClassConfItemId(addConfClassItemRespDto_1.getClassConfItemId());//sourceId:62559_1
//    }
  

  
  
return retData;
  }

    /**
   * B2-3查询分组下配置项列表（平台）[1993]
   * gen by moon at 5/27/2023, 7:41:21 PM
   */
    @Trace(operationName = "B2-3查询分组下配置项列表（平台）")
    @Tags({@Tag(key = "参数",value = "arg[0]"),
            @Tag(key = "返回值",value = "returnedObj")})
  @Override
  public BffQueryConfClassItemListRespDto queryConfClassItemList(BffQueryConfClassItemListReqDto reqDto){
      
       
       QueryConfClassItemListRespDto queryConfClassItemListRespDto_1 =null;
BatchQueryConfItemOptionRespDto batchQueryConfItemOptionRespDto_1 =null;
//步骤0: D2-3查询分组下配置项列表 - queryConfClassItemList
     QueryConfClassItemListRespDto queryConfClassItemListRespDto = null;
    QueryConfClassItemListReqDto queryConfClassItemListReqDto=new QueryConfClassItemListReqDto();
  if(reqDto!=null){
      queryConfClassItemListReqDto.setConfItemClassId(reqDto.getConfItemClassId());//SimpleFieldAssign//sourceId:61542_1
    }
  
    /*D2-3查询分组下配置项列表[1995]   */
    Assert.isNull(queryConfClassItemListReqDto.getConfItemClassId(),"B2-3查询分组下配置项列表（平台）-D2-3查询分组下配置项列表-方案分组ID不能为空",false);
      queryConfClassItemListRespDto = fwCompConfSchemeClient.queryConfClassItemList(queryConfClassItemListReqDto).getData()/*vcase invoke 跨dubbo调用;*/;
      
      
      queryConfClassItemListRespDto_1 = queryConfClassItemListRespDto;
    
//步骤1: D2-3批量查询配置项下选项关系列表 - batchQueryConfItemOption
     BatchQueryConfItemOptionRespDto batchQueryConfItemOptionRespDto = null;
    if(queryConfClassItemListRespDto !=null){
          BatchQueryConfItemOptionReqDto batchQueryConfItemOptionReqDto=new BatchQueryConfItemOptionReqDto();
  batchQueryConfItemOptionReqDto.setIsPlatData("TRUE");//sourceId:62026_1
if(queryConfClassItemListRespDto!= null&&  queryConfClassItemListRespDto.getConfClassItemList() !=null&& !CollectionUtil.isEmpty(queryConfClassItemListRespDto.getConfClassItemList())){
      batchQueryConfItemOptionReqDto.setConfItemOptionList(queryConfClassItemListRespDto.getConfClassItemList().stream().map(item->item.getConfItemId())
        .collect(Collectors.toList()));/*list-to-strings*///sourceId:63369_1
    }
if(reqDto!=null){
      batchQueryConfItemOptionReqDto.setConfSchemeCode(reqDto.getConfSchemeCode());//SimpleFieldAssign//sourceId:61569_1
batchQueryConfItemOptionReqDto.setConfSchemeId(reqDto.getConfSchemeId());//SimpleFieldAssign//sourceId:987272_1
    }
  
    /*D2-3批量查询配置项下选项关系列表[2126]   */
    Assert.isNull(batchQueryConfItemOptionReqDto.getIsPlatData(),"B2-3查询分组下配置项列表（平台）-D2-3批量查询配置项下选项关系列表-是否标准答案不能为空",false);
      batchQueryConfItemOptionRespDto = fwCompConfSchemeClient.batchQueryConfItemOption(batchQueryConfItemOptionReqDto).getData()/*vcase invoke 跨dubbo调用;*/;
      
      
      batchQueryConfItemOptionRespDto_1 = batchQueryConfItemOptionRespDto;
           }
    
BffQueryConfClassItemListRespDto retData = new BffQueryConfClassItemListRespDto();
  if(queryConfClassItemListRespDto_1!=null){
      retData.setConfClassItemList(queryConfClassItemListRespDto_1.getConfClassItemList().stream().map(item -> BeanUtil.toBean(item, BffConfClassItemDto.class)).collect(Collectors.toList()));//sourceId:61580_1
    }
if(batchQueryConfItemOptionRespDto_1!=null){
      retData.setConfItemOptionList(batchQueryConfItemOptionRespDto_1.getConfItemOptionList().stream().map(item -> BeanUtil.toBean(item, BffConfItemOptionDto.class)).collect(Collectors.toList()));//sourceId:61587_1
    }
  

      List<Object> allNodes =new ArrayList<>();
      allNodes.addAll(retData.getConfClassItemList());
allNodes.addAll(retData.getConfItemOptionList());
     List<TreeNode> nodeList = CommonFunctionHelper.buildTree(allNodes);
     retData.setTreeNode(nodeList);
     retData.setConfClassItemList(null);
retData.setConfItemOptionList(null);
    
return retData;
  }

    /**
   * B2-3修改配置方案下分组(平台)[1979]
   * gen by moon at 8/10/2022, 3:45:19 AM
   */
    @Trace(operationName = "B2-3修改配置方案下分组(平台)")
    @Tags({@Tag(key = "参数",value = "arg[0]"),
            @Tag(key = "返回值",value = "returnedObj")})
  @Override
  public BffUpdateConfItemClassRespDto updateConfItemClass(BffUpdateConfItemClassReqDto reqDto){
      
       
       //步骤0: D2-3修改配置方案下分组 - updateConfItemClass
     UpdateConfItemClassRespDto updateConfItemClassRespDto = null;
    UpdateConfItemClassReqDto updateConfItemClassReqDto=new UpdateConfItemClassReqDto();
  if(reqDto!=null){
      updateConfItemClassReqDto.setConfItemClassId(reqDto.getConfItemClassId());//sourceId:58733_1
updateConfItemClassReqDto.setConfItemClassName(reqDto.getConfItemClassName());//sourceId:58735_1
updateConfItemClassReqDto.setConfItemClassCode(reqDto.getConfItemClassCode());//sourceId:58734_1
    }
  
    /*D2-3修改配置方案下分组[1984]   */
    Assert.isNull(updateConfItemClassReqDto.getConfItemClassId(),"B2-3修改配置方案下分组(平台)-D2-3修改配置方案下分组-配置方案下分组ID不能为空",false);
      updateConfItemClassRespDto = fwCompConfSchemeClient.updateConfItemClass(updateConfItemClassReqDto).getData();
      
      
    
BffUpdateConfItemClassRespDto retData = new BffUpdateConfItemClassRespDto();
  
  

  
  
return retData;
  }

    /**
   * B2-3删除配置方案下分组(平台）[1978]
   * gen by moon at 9/2/2022, 5:10:01 PM
   */
    @Trace(operationName = "B2-3删除配置方案下分组(平台）")
    @Tags({@Tag(key = "参数",value = "arg[0]"),
            @Tag(key = "返回值",value = "returnedObj")})
  @Override
  public BffDeleteConfItemClassRespDto deleteConfItemClass(BffDeleteConfItemClassReqDto reqDto){
      
       
       //步骤0: D2-3删除配置方案下分组 - deleteConfItemClass
     DeleteConfItemClassRespDto deleteConfItemClassRespDto = null;
    DeleteConfItemClassReqDto deleteConfItemClassReqDto=new DeleteConfItemClassReqDto();
  if(reqDto!=null){
      deleteConfItemClassReqDto.setConfItemClassId(reqDto.getConfItemClassId());//sourceId:58762_1
    }
  
    /*D2-3删除配置方案下分组[1985]   */
    Assert.isNull(deleteConfItemClassReqDto.getConfItemClassId(),"B2-3删除配置方案下分组(平台）-D2-3删除配置方案下分组-配置方案下分组ID不能为空",false);
      deleteConfItemClassRespDto = fwCompConfSchemeClient.deleteConfItemClass(deleteConfItemClassReqDto).getData();
      
      
      
    
BffDeleteConfItemClassRespDto retData = new BffDeleteConfItemClassRespDto();
  
  

  
  
return retData;
  }

    /**
   * B2-3新增配置方案下分组(平台）[1977]
   * gen by moon at 8/10/2022, 3:45:14 AM
   */
    @Trace(operationName = "B2-3新增配置方案下分组(平台）")
    @Tags({@Tag(key = "参数",value = "arg[0]"),
            @Tag(key = "返回值",value = "returnedObj")})
  @Override
  public BffAddConfItemClassRespDto addConfItemClass(BffAddConfItemClassReqDto reqDto){
      
       
       AddConfItemClassRespDto addConfItemClassRespDto_1 = null;
//步骤0: D2-3新增配置方案下分组 - addConfItemClass
     AddConfItemClassRespDto addConfItemClassRespDto = null;
    AddConfItemClassReqDto addConfItemClassReqDto=new AddConfItemClassReqDto();
  if(reqDto!=null){
      addConfItemClassReqDto.setConfSchemeId(reqDto.getConfSchemeId());//sourceId:58713_1
addConfItemClassReqDto.setConfItemClassName(reqDto.getConfItemClassName());//sourceId:58714_1
addConfItemClassReqDto.setConfItemClassCode(reqDto.getConfItemClassCode());//sourceId:58715_1
addConfItemClassReqDto.setOrderNumber(reqDto.getOrderNumber());//sourceId:58716_1
    }
  
    /*D2-3新增配置方案下分组[1983]   */
    Assert.isNull(addConfItemClassReqDto.getConfSchemeId(),"B2-3新增配置方案下分组(平台）-D2-3新增配置方案下分组-所属配置方案ID不能为空",false);
Assert.isNull(addConfItemClassReqDto.getConfItemClassName(),"B2-3新增配置方案下分组(平台）-D2-3新增配置方案下分组-配置项分组名称不能为空",false);
Assert.isNull(addConfItemClassReqDto.getConfItemClassCode(),"B2-3新增配置方案下分组(平台）-D2-3新增配置方案下分组-配置项分组标识不能为空",false);
Assert.isNull(addConfItemClassReqDto.getOrderNumber(),"B2-3新增配置方案下分组(平台）-D2-3新增配置方案下分组-排序不能为空",false);
      addConfItemClassRespDto = fwCompConfSchemeClient.addConfItemClass(addConfItemClassReqDto).getData();
      
      addConfItemClassRespDto_1 = addConfItemClassRespDto;
    
BffAddConfItemClassRespDto retData = new BffAddConfItemClassRespDto();
  if(addConfItemClassRespDto_1!=null){
      retData.setConfItemClassId(addConfItemClassRespDto_1.getConfItemClassId());//sourceId:58722_1
    }
  

  
  
return retData;
  }

    /**
   * B2-3查询配置方案下分组列表（平台）[1976]
   * gen by moon at 5/1/2023, 2:30:02 PM
   */
    @Trace(operationName = "B2-3查询配置方案下分组列表（平台）")
    @Tags({@Tag(key = "参数",value = "arg[0]"),
            @Tag(key = "返回值",value = "returnedObj")})
  @Override
  public BffQueryConfItemClassListRespDto queryConfItemClassList(BffQueryConfItemClassListReqDto reqDto){
      
       
       QueryConfItemClassListRespDto queryConfItemClassListRespDto_1 = null;
//步骤0: D2-3查询配置方案下分组列表 - queryConfItemClassList
     QueryConfItemClassListRespDto queryConfItemClassListRespDto = null;
    QueryConfItemClassListReqDto queryConfItemClassListReqDto=new QueryConfItemClassListReqDto();
  if(reqDto!=null){
      queryConfItemClassListReqDto.setConfSchemeId(reqDto.getConfSchemeId());//SimpleFieldAssign//sourceId:58696_1
    }
  
    /*D2-3查询配置方案下分组列表[1982]   */
    Assert.isNull(queryConfItemClassListReqDto.getConfSchemeId(),"B2-3查询配置方案下分组列表（平台）-D2-3查询配置方案下分组列表-所属配置方案ID不能为空",false);
      queryConfItemClassListRespDto = fwCompConfSchemeClient.queryConfItemClassList(queryConfItemClassListReqDto).getData()/*vcase invoke 跨dubbo调用;*/;
//      Assert.isTrue(queryConfItemClassListRespDto== null||  queryConfItemClassListRespDto.getConfItemClassList() ==null|| CollectionUtil.isEmpty(queryConfItemClassListRespDto.getConfItemClassList())|| queryConfItemClassListRespDto.getConfItemClassList().size()==0 ,"找不到数据，系统异常",false);
      
      queryConfItemClassListRespDto_1 = queryConfItemClassListRespDto;
    
BffQueryConfItemClassListRespDto retData = new BffQueryConfItemClassListRespDto();
  if(queryConfItemClassListRespDto_1!=null){
      retData.setConfItemClassList(queryConfItemClassListRespDto_1.getConfItemClassList().stream().map(item -> BeanUtil.toBean(item, BffConfItemClassDto.class)).collect(Collectors.toList()));//objList-to-objLists//sourceId:58701_1
    }
  

  
  
return retData;
  }

    /**
   * B2-3删除配置方案(平台）[1975]
   * gen by moon at 8/10/2022, 3:45:09 AM
   */
    @Trace(operationName = "B2-3删除配置方案(平台）")
    @Tags({@Tag(key = "参数",value = "arg[0]"),
            @Tag(key = "返回值",value = "returnedObj")})
  @Override
  public BffDeleteConfSchemeRespDto deleteConfScheme(BffDeleteConfSchemeReqDto reqDto){
      
       
       //步骤0: D2-3删除配置方案 - deleteConfScheme
     DeleteConfSchemeRespDto deleteConfSchemeRespDto = null;
    DeleteConfSchemeReqDto deleteConfSchemeReqDto=new DeleteConfSchemeReqDto();
  if(reqDto!=null){
      deleteConfSchemeReqDto.setConfSchemeId(reqDto.getConfSchemeId());//sourceId:59524_1
    }
  
    /*D2-3删除配置方案[2036]   */
    Assert.isNull(deleteConfSchemeReqDto.getConfSchemeId(),"B2-3删除配置方案(平台）-D2-3删除配置方案-配置方案ID 不能为空",false);
      deleteConfSchemeRespDto = fwCompConfSchemeClient.deleteConfScheme(deleteConfSchemeReqDto).getData();
      
      
    
BffDeleteConfSchemeRespDto retData = new BffDeleteConfSchemeRespDto();
  
  

  
  
return retData;
  }

    /**
   * B2-3修改配置方案(平台）[1974]
   * gen by moon at 8/10/2022, 3:45:06 AM
   */
    @Trace(operationName = "B2-3修改配置方案(平台）")
    @Tags({@Tag(key = "参数",value = "arg[0]"),
            @Tag(key = "返回值",value = "returnedObj")})
  @Override
  public BffUpdateConfSchemeRespDto updateConfScheme(BffUpdateConfSchemeReqDto reqDto){
      
       
       //步骤0: D2-3修改配置方案 - updateConfScheme
     UpdateConfSchemeRespDto updateConfSchemeRespDto = null;
    UpdateConfSchemeReqDto updateConfSchemeReqDto=new UpdateConfSchemeReqDto();
  if(reqDto!=null){
      updateConfSchemeReqDto.setConfSchemeId(reqDto.getConfSchemeId());//sourceId:58838_1
updateConfSchemeReqDto.setConfSchemeCode(reqDto.getConfSchemeCode());//sourceId:58839_1
updateConfSchemeReqDto.setConfSchemeName(reqDto.getConfSchemeName());//sourceId:58841_1
updateConfSchemeReqDto.setConfSchemeDes(reqDto.getConfSchemeDes());//sourceId:58842_1
updateConfSchemeReqDto.setConfSchemeTypeCode(reqDto.getConfSchemeTypeCode());//sourceId:58845_1
updateConfSchemeReqDto.setApplObjType(reqDto.getApplObjType());//sourceId:58843_1
updateConfSchemeReqDto.setBizSceneCode(reqDto.getBizSceneCode());//sourceId:61651_1
updateConfSchemeReqDto.setAuthType(reqDto.getAuthType());//sourceId:79440_1
updateConfSchemeReqDto.setAuthUnit(reqDto.getAuthUnit());//sourceId:63045_1
updateConfSchemeReqDto.setAuthorizationNum(reqDto.getAuthorizationNum());//sourceId:63046_1
updateConfSchemeReqDto.setIsInitialScheme(reqDto.getIsInitialScheme());//sourceId:58846_1
updateConfSchemeReqDto.setIsCustom(reqDto.getIsCustom());//sourceId:58847_1
updateConfSchemeReqDto.setIsOpenCustomConf(reqDto.getIsOpenCustomConf());//sourceId:58848_1
    }
  
    /*D2-3修改配置方案[1992]   */
    Assert.isNull(updateConfSchemeReqDto.getConfSchemeId(),"B2-3修改配置方案(平台）-D2-3修改配置方案-配置方案ID 不能为空",false);
      updateConfSchemeRespDto = fwCompConfSchemeClient.updateConfScheme(updateConfSchemeReqDto).getData();
      
      
    
BffUpdateConfSchemeRespDto retData = new BffUpdateConfSchemeRespDto();
  
  

  
  
return retData;
  }

    /**
   * B2-3新增配置方案(平台）[1973]
   * gen by moon at 9/8/2022, 11:07:25 PM
   */
    @Trace(operationName = "B2-3新增配置方案(平台）")
    @Tags({@Tag(key = "参数",value = "arg[0]"),
            @Tag(key = "返回值",value = "returnedObj")})
  @Override
  public BffAddConfSchemeRespDto addConfScheme(BffAddConfSchemeReqDto reqDto){
      
       
       AddConfSchemeRespDto addConfSchemeRespDto_1 =null;
//步骤0: D2-3新增配置方案 - addConfScheme
     AddConfSchemeRespDto addConfSchemeRespDto = null;
    AddConfSchemeReqDto addConfSchemeReqDto=new AddConfSchemeReqDto();
  if(reqDto!=null){
      addConfSchemeReqDto.setConfSchemeCode(reqDto.getConfSchemeCode());//sourceId:58787_1
addConfSchemeReqDto.setConfSchemeName(reqDto.getConfSchemeName());//sourceId:58789_1
addConfSchemeReqDto.setConfSchemeDes(reqDto.getConfSchemeDes());//sourceId:58790_1
addConfSchemeReqDto.setApplObjType(reqDto.getApplObjType());//sourceId:58792_1
addConfSchemeReqDto.setConfSchemeTypeCode(reqDto.getConfSchemeTypeCode());//sourceId:58791_1
addConfSchemeReqDto.setBizSceneCode(reqDto.getBizSceneCode());//sourceId:61636_1
addConfSchemeReqDto.setAuthUnit(reqDto.getAuthUnit());//sourceId:104070_1
addConfSchemeReqDto.setAuthorizationNum(reqDto.getAuthorizationNum());//sourceId:104071_1
addConfSchemeReqDto.setAuthType(reqDto.getAuthType());//sourceId:104072_1
addConfSchemeReqDto.setIsInitialScheme(reqDto.getIsInitialScheme());//sourceId:58794_1
addConfSchemeReqDto.setIsCustom(reqDto.getIsCustom());//sourceId:58795_1
addConfSchemeReqDto.setIsOpenCustomConf(reqDto.getIsOpenCustomConf());//sourceId:58796_1
    }
  
    /*D2-3新增配置方案[1991]   */
    Assert.isNull(addConfSchemeReqDto.getConfSchemeCode(),"B2-3新增配置方案(平台）-D2-3新增配置方案-配置方案标识不能为空",false);
Assert.isNull(addConfSchemeReqDto.getConfSchemeName(),"B2-3新增配置方案(平台）-D2-3新增配置方案-配置方案名称不能为空",false);
Assert.isNull(addConfSchemeReqDto.getApplObjType(),"B2-3新增配置方案(平台）-D2-3新增配置方案-应用对象类型不能为空",false);
Assert.isNull(addConfSchemeReqDto.getConfSchemeTypeCode(),"B2-3新增配置方案(平台）-D2-3新增配置方案-方案类型编码不能为空",false);
Assert.isNull(addConfSchemeReqDto.getBizSceneCode(),"B2-3新增配置方案(平台）-D2-3新增配置方案-归属业务场景标识不能为空",false);
Assert.isNull(addConfSchemeReqDto.getAuthType(),"B2-3新增配置方案(平台）-D2-3新增配置方案-授权类型不能为空",false);
Assert.isNull(addConfSchemeReqDto.getIsInitialScheme(),"B2-3新增配置方案(平台）-D2-3新增配置方案-是否初始方案不能为空",false);
Assert.isNull(addConfSchemeReqDto.getIsCustom(),"B2-3新增配置方案(平台）-D2-3新增配置方案-是否定制方案不能为空",false);
Assert.isNull(addConfSchemeReqDto.getIsOpenCustomConf(),"B2-3新增配置方案(平台）-D2-3新增配置方案-是否开启自定义配置不能为空",false);
      addConfSchemeRespDto = fwCompConfSchemeClient.addConfScheme(addConfSchemeReqDto).getData();
      
      
      addConfSchemeRespDto_1 = addConfSchemeRespDto;
    
BffAddConfSchemeRespDto retData = new BffAddConfSchemeRespDto();
  if(addConfSchemeRespDto_1!=null){
      retData.setConfSchemeId(addConfSchemeRespDto_1.getConfSchemeId());//sourceId:58811_1
    }
  

  
  
return retData;
  }

    /**
   * B2-3删除配置项下选项关系(平台）[1970]
   * gen by moon at 8/24/2022, 9:19:36 PM
   */
    @Trace(operationName = "B2-3删除配置项下选项关系(平台）")
    @Tags({@Tag(key = "参数",value = "arg[0]"),
            @Tag(key = "返回值",value = "returnedObj")})
  @Override
  public BffDeleteConfItemOptionRespDto deleteConfItemOption(BffDeleteConfItemOptionReqDto reqDto){
      
       
       //步骤0: D2-3删除配置项下选项关系 - deleteConfItemOption
     DeleteConfItemOptionRespDto deleteConfItemOptionRespDto = null;
    DeleteConfItemOptionReqDto deleteConfItemOptionReqDto=new DeleteConfItemOptionReqDto();
  if(reqDto!=null){
      deleteConfItemOptionReqDto.setConfOptionRshipId(reqDto.getConfOptionRshipId());//sourceId:60247_1
deleteConfItemOptionReqDto.setConfOptionId(reqDto.getConfOptionId());//sourceId:103996_1
    }
  
    /*D2-3删除配置项下选项关系[2057]   */
    Assert.isNull(deleteConfItemOptionReqDto.getConfOptionRshipId(),"B2-3删除配置项下选项关系(平台）-D2-3删除配置项下选项关系-配置项下选项关系ID不能为空",false);
Assert.isNull(deleteConfItemOptionReqDto.getConfOptionId(),"B2-3删除配置项下选项关系(平台）-D2-3删除配置项下选项关系-配置选项ID不能为空",false);
      deleteConfItemOptionRespDto = fwCompConfSchemeClient.deleteConfItemOption(deleteConfItemOptionReqDto).getData();
      
      
    
BffDeleteConfItemOptionRespDto retData = new BffDeleteConfItemOptionRespDto();
  
  

  
  
return retData;
  }

    /**
   * B2-3修改配置选项(平台)[1969]
   * gen by moon at 5/3/2023, 10:36:18 AM
   */
    @Trace(operationName = "B2-3修改配置选项(平台)")
    @Tags({@Tag(key = "参数",value = "arg[0]"),
            @Tag(key = "返回值",value = "returnedObj")})
  @Override
  public BffUpdateConfOptionRespDto updateConfOption(BffUpdateConfOptionReqDto reqDto){
      
       
       //步骤0: D2-3修改配置选项 - updateConfOption
     UpdateConfOptionRespDto updateConfOptionRespDto = null;
    UpdateConfOptionReqDto updateConfOptionReqDto=new UpdateConfOptionReqDto();
  if(reqDto!=null){
      updateConfOptionReqDto.setConfOptionId(reqDto.getConfOptionId());//SimpleFieldAssign//sourceId:59990_1
updateConfOptionReqDto.setConfOptionName(reqDto.getConfOptionName());//SimpleFieldAssign//sourceId:59992_1
updateConfOptionReqDto.setConfOptionDes(reqDto.getConfOptionDes());//SimpleFieldAssign//sourceId:59993_1
    }
  
    /*D2-3修改配置选项[2056]   */
    Assert.isNull(updateConfOptionReqDto.getConfOptionId(),"B2-3修改配置选项(平台)-D2-3修改配置选项-选项ID不能为空",false);
      updateConfOptionRespDto = fwCompConfSchemeClient.updateConfOption(updateConfOptionReqDto).getData()/*vcase invoke 跨dubbo调用;*/;

      
      
    
BffUpdateConfOptionRespDto retData = new BffUpdateConfOptionRespDto();
  
  

  
  
return retData;
  }


    /**
   * B2-3查询配置项下选项关系列表（平台）[1967]
   * gen by moon at 8/10/2022, 3:44:44 AM
   */
    @Trace(operationName = "B2-3查询配置项下选项关系列表（平台）")
    @Tags({@Tag(key = "参数",value = "arg[0]"),
            @Tag(key = "返回值",value = "returnedObj")})
  @Override
  public BffQueryConfItemOptionListRespDto queryConfItemOptionList(BffQueryConfItemOptionListReqDto reqDto){
      
       
       QueryConfItemOptionListRespDto queryConfItemOptionListRespDto_1 = null;
//步骤0: D2-3查询配置项下选项关系列表 - queryConfItemOptionList
     QueryConfItemOptionListRespDto queryConfItemOptionListRespDto = null;
    QueryConfItemOptionListReqDto queryConfItemOptionListReqDto=new QueryConfItemOptionListReqDto();
  if(reqDto!=null){
      queryConfItemOptionListReqDto.setConfItemId(reqDto.getConfItemId());//sourceId:62792_1
    }
  
    /*D2-3查询配置项下选项关系列表[2053]   */
    Assert.isNull(queryConfItemOptionListReqDto.getConfItemId(),"B2-3查询配置项下选项关系列表（平台）-D2-3查询配置项下选项关系列表-冗余配置项ID不能为空",false);
      queryConfItemOptionListRespDto = fwCompConfSchemeClient.queryConfItemOptionList(queryConfItemOptionListReqDto).getData();
      
      queryConfItemOptionListRespDto_1 = queryConfItemOptionListRespDto;
    
BffQueryConfItemOptionListRespDto retData = new BffQueryConfItemOptionListRespDto();
  if(queryConfItemOptionListRespDto_1!=null){
      retData.setConfItemOptionList(queryConfItemOptionListRespDto_1.getConfItemOptionList().stream().map(item -> BeanUtil.toBean(item, BffConfItemOptionDto.class)).collect(Collectors.toList()));//sourceId:103796_1
    }
  

  
  
return retData;
  }

    /**
   * B2-3删除配置项(平台）[1966]
   * gen by moon at 8/24/2022, 2:08:28 PM
   */
    @Trace(operationName = "B2-3删除配置项(平台）")
    @Tags({@Tag(key = "参数",value = "arg[0]"),
            @Tag(key = "返回值",value = "returnedObj")})
  @Override
  public BffDeleteConfItemRespDto deleteConfItem(BffDeleteConfItemReqDto reqDto){
      
       
       //步骤0: D2-3删除配置项 - deleteConfItem
     DeleteConfItemRespDto deleteConfItemRespDto = null;
    DeleteConfItemReqDto deleteConfItemReqDto=new DeleteConfItemReqDto();
  if(reqDto!=null){
      deleteConfItemReqDto.setConfItemId(reqDto.getConfItemId());//sourceId:103784_1
    }
  
    /*D2-3删除配置项[2061]   */
    Assert.isNull(deleteConfItemReqDto.getConfItemId(),"B2-3删除配置项(平台）-D2-3删除配置项-冗余配置项ID不能为空",false);
      deleteConfItemRespDto = fwCompConfSchemeClient.deleteConfItem(deleteConfItemReqDto).getData();
      
      
    
BffDeleteConfItemRespDto retData = new BffDeleteConfItemRespDto();
  
  

  
  
return retData;
  }

    /**
   * B2-3存档配置项(平台）[1964]
   * gen by moon at 8/10/2022, 3:44:35 AM
   */
    @Trace(operationName = "B2-3存档配置项(平台）")
    @Tags({@Tag(key = "参数",value = "arg[0]"),
            @Tag(key = "返回值",value = "returnedObj")})
  @Override
  public BffArchiveConfItemRespDto archiveConfItem(BffArchiveConfItemReqDto reqDto){
      
       
       //步骤0: D2-3存档配置项 - archiveConfItem
     ArchiveConfItemRespDto archiveConfItemRespDto = null;
    ArchiveConfItemReqDto archiveConfItemReqDto=new ArchiveConfItemReqDto();
  if(reqDto!=null){
      archiveConfItemReqDto.setConfItemId(reqDto.getConfItemId());//sourceId:103828_1
    }
  
    /*D2-3存档配置项[2054]   */
    Assert.isNull(archiveConfItemReqDto.getConfItemId(),"B2-3存档配置项(平台）-D2-3存档配置项-冗余配置项ID不能为空",false);
      archiveConfItemRespDto = fwCompConfSchemeClient.archiveConfItem(archiveConfItemReqDto).getData();
      
      
    
BffArchiveConfItemRespDto retData = new BffArchiveConfItemRespDto();
  
  

  
  
return retData;
  }

    /**
   * B2-3查询配置项详情（平台）[1962]
   * gen by moon at 10/26/2022, 12:42:10 AM
   */
    @Trace(operationName = "B2-3查询配置项详情（平台）")
    @Tags({@Tag(key = "参数",value = "arg[0]"),
            @Tag(key = "返回值",value = "returnedObj")})
  @Override
  public BffQueryConfItemDetailRespDto queryConfItemDetail(BffQueryConfItemDetailReqDto reqDto){
      
       
       QueryConfItemDetailRespDto queryConfItemDetailRespDto_1 =null;
QueryBizAppSceneDetailRespDto queryBizAppSceneDetailRespDto_1 =null;
QueryInductionRecordInfoDetailComRespDto queryInductionRecordInfoDetailComRespDto_1 =null;
//步骤0: D2-3查询配置项详情 - queryConfItemDetail
     QueryConfItemDetailRespDto queryConfItemDetailRespDto = null;
    QueryConfItemDetailReqDto queryConfItemDetailReqDto=new QueryConfItemDetailReqDto();
  if(reqDto!=null){
      queryConfItemDetailReqDto.setConfItemId(reqDto.getConfItemId());//SimpleFieldAssign//sourceId:59791_1
queryConfItemDetailReqDto.setIsArchive(reqDto.getIsArchive());//SimpleFieldAssign//sourceId:103791_1
    }
  
    /*D2-3查询配置项详情[2051]   */
    Assert.isNull(queryConfItemDetailReqDto.getConfItemId(),"B2-3查询配置项详情（平台）-D2-3查询配置项详情-配置项ID不能为空",false);
Assert.isNull(queryConfItemDetailReqDto.getIsArchive(),"B2-3查询配置项详情（平台）-D2-3查询配置项详情-是否存档不能为空",false);
      queryConfItemDetailRespDto = fwCompConfSchemeClient.queryConfItemDetail(queryConfItemDetailReqDto).getData();
      
      
      queryConfItemDetailRespDto_1 = queryConfItemDetailRespDto;
    
//步骤1: D1-1查询业务应用详情 - queryBizAppSceneDetail
     QueryBizAppSceneDetailRespDto queryBizAppSceneDetailRespDto = null;
    if(queryConfItemDetailRespDto !=null){
          QueryBizAppSceneDetailReqDto queryBizAppSceneDetailReqDto=new QueryBizAppSceneDetailReqDto();
  if(queryConfItemDetailRespDto!=null){
      queryBizAppSceneDetailReqDto.setBizAppCode(queryConfItemDetailRespDto.getBizAppCode());//SimpleFieldAssign//sourceId:389715_1
    }
  
    /*D1-1查询业务应用详情[743]   */
    Assert.isNull(queryBizAppSceneDetailReqDto.getBizAppCode(),"B2-3查询配置项详情（平台）-D1-1查询业务应用详情-业务应用标识不能为空",false);
      queryBizAppSceneDetailRespDto = fwBaseAppSceneClient.queryBizAppSceneDetail(queryBizAppSceneDetailReqDto).getData();
      
      
      queryBizAppSceneDetailRespDto_1 = queryBizAppSceneDetailRespDto;
           }
    
//步骤2: D1-3查询个人就职记录信息详情（公共） - queryInductionRecordInfoDetailCom
     QueryInductionRecordInfoDetailComRespDto queryInductionRecordInfoDetailComRespDto = null;
    if(queryConfItemDetailRespDto !=null){
          QueryInductionRecordInfoDetailComReqDto queryInductionRecordInfoDetailComReqDto=new QueryInductionRecordInfoDetailComReqDto();
  if(queryConfItemDetailRespDto!=null){
      queryInductionRecordInfoDetailComReqDto.setInductionRecordId(queryConfItemDetailRespDto.getOperationInductionId());//SimpleFieldAssign//sourceId:59808_1
    }
  
    /*D1-3查询个人就职记录信息详情（公共）[715]   */
    Assert.isNull(queryInductionRecordInfoDetailComReqDto.getInductionRecordId(),"B2-3查询配置项详情（平台）-D1-3查询个人就职记录信息详情（公共）-就职记录ID不能为空",false);
      queryInductionRecordInfoDetailComRespDto = fwBaseInductionRecordClient.queryInductionRecordInfoDetailCom(queryInductionRecordInfoDetailComReqDto).getData();
      
      
      queryInductionRecordInfoDetailComRespDto_1 = queryInductionRecordInfoDetailComRespDto;
           }
    
BffQueryConfItemDetailRespDto retData = new BffQueryConfItemDetailRespDto();
  if(queryConfItemDetailRespDto_1!=null){
      retData.setConfItemId(queryConfItemDetailRespDto_1.getConfItemId());//SimpleFieldAssign//sourceId:59815_1
retData.setConfItemCode(queryConfItemDetailRespDto_1.getConfItemCode());//SimpleFieldAssign//sourceId:59816_1
retData.setConfItemName(queryConfItemDetailRespDto_1.getConfItemName());//SimpleFieldAssign//sourceId:59817_1
retData.setShortName(queryConfItemDetailRespDto_1.getShortName());//SimpleFieldAssign//sourceId:59818_1
retData.setConfItemDes(queryConfItemDetailRespDto_1.getConfItemDes());//SimpleFieldAssign//sourceId:59819_1
retData.setApplyTypeCode(queryConfItemDetailRespDto_1.getApplyTypeCode());//SimpleFieldAssign//sourceId:59820_1
retData.setConfItemCategory(queryConfItemDetailRespDto_1.getConfItemCategory());//SimpleFieldAssign//sourceId:59821_1
retData.setBizAppCode(queryConfItemDetailRespDto_1.getBizAppCode());//SimpleFieldAssign//sourceId:59822_1
retData.setBizSceneCode(queryConfItemDetailRespDto_1.getBizSceneCode());//SimpleFieldAssign//sourceId:388672_1
retData.setIsSingleResult(queryConfItemDetailRespDto_1.getIsSingleResult());//SimpleFieldAssign//sourceId:106308_1
retData.setIsVisible(queryConfItemDetailRespDto_1.getIsVisible());//SimpleFieldAssign//sourceId:59823_1
retData.setIsOpenCustomConf(queryConfItemDetailRespDto_1.getIsOpenCustomConf());//SimpleFieldAssign//sourceId:59824_1
retData.setIsSwitch(queryConfItemDetailRespDto_1.getIsSwitch());//SimpleFieldAssign//sourceId:59825_1
retData.setIsBusiness(queryConfItemDetailRespDto_1.getIsBusiness());//SimpleFieldAssign//sourceId:59826_1
retData.setIsAllowUpdateAnswer(queryConfItemDetailRespDto_1.getIsAllowUpdateAnswer());//SimpleFieldAssign//sourceId:143626_1
retData.setIsTemporaryLock(queryConfItemDetailRespDto_1.getIsTemporaryLock());//SimpleFieldAssign//sourceId:59903_1
retData.setSubjectLifeCycle(queryConfItemDetailRespDto_1.getSubjectLifeCycle());//SimpleFieldAssign//sourceId:59828_1
retData.setCreateInductionId(queryConfItemDetailRespDto_1.getCreateInductionId());//SimpleFieldAssign//sourceId:60246_1
retData.setOperationInductionId(queryConfItemDetailRespDto_1.getOperationInductionId());//SimpleFieldAssign//sourceId:59829_1
retData.setOperateTime(queryConfItemDetailRespDto_1.getOperateTime());//SimpleFieldAssign//sourceId:59830_1
    }
if(queryBizAppSceneDetailRespDto_1!=null){
      retData.setBizAppName(queryBizAppSceneDetailRespDto_1.getBizAppName());//SimpleFieldAssign//sourceId:155599_1
    }
if(queryInductionRecordInfoDetailComRespDto_1!=null){
      retData.setUserId(queryInductionRecordInfoDetailComRespDto_1.getUserId());//SimpleFieldAssign//sourceId:59831_1
retData.setUserFace(queryInductionRecordInfoDetailComRespDto_1.getUserFace());//SimpleFieldAssign//sourceId:59834_1
retData.setIdCardName(queryInductionRecordInfoDetailComRespDto_1.getIdCardName());//SimpleFieldAssign//sourceId:59832_1
retData.setNickName(queryInductionRecordInfoDetailComRespDto_1.getNickName());//SimpleFieldAssign//sourceId:59833_1
    }
  

  
  
return retData;
  }
/**
   * B2-3查询过滤已添加选项列表(平台)[3318]
   * gen by moon at 8/10/2022, 3:47:22 AM
   */
    @Trace(operationName = "B2-3查询过滤已添加选项列表(平台)")
    @Tags({@Tag(key = "参数",value = "arg[0]"),
            @Tag(key = "返回值",value = "returnedObj")})
  @Override
  public BffQueryFilterConfOptionListRespDto queryFilterConfOptionList(BffQueryFilterConfOptionListReqDto reqDto){
      
       
       QueryFilterConfOptionListRespDto queryFilterConfOptionListRespDto_1 = null;
//步骤0: D2-3查询过滤已添加选项列表 - queryFilterConfOptionList
     QueryFilterConfOptionListRespDto queryFilterConfOptionListRespDto = null;
    QueryFilterConfOptionListReqDto queryFilterConfOptionListReqDto=new QueryFilterConfOptionListReqDto();
  if(reqDto!=null){
      queryFilterConfOptionListReqDto.setConfOptionName(reqDto.getConfOptionName());//sourceId:128737_1
queryFilterConfOptionListReqDto.setConfItemId(reqDto.getConfItemId());//sourceId:128738_1
    }
  
    /*D2-3查询过滤已添加选项列表[3319]   */
    Assert.isNull(queryFilterConfOptionListReqDto.getConfItemId(),"B2-3查询过滤已添加选项列表(平台)-D2-3查询过滤已添加选项列表-冗余配置项ID不能为空",false);
      queryFilterConfOptionListRespDto = fwCompConfSchemeClient.queryFilterConfOptionList(queryFilterConfOptionListReqDto).getData();
      
      queryFilterConfOptionListRespDto_1 = queryFilterConfOptionListRespDto;
    
BffQueryFilterConfOptionListRespDto retData = new BffQueryFilterConfOptionListRespDto();
  if(queryFilterConfOptionListRespDto_1!=null){
      retData.setConfOptionList(queryFilterConfOptionListRespDto_1.getConfOptionList().stream().map(item -> BeanUtil.toBean(item, BffConfOptionDto.class)).collect(Collectors.toList()));//sourceId:128742_1
    }
  

  
  
return retData;
  }
/**
   * B2-3新增配置项下选项关系(平台)[3321]
   * gen by moon at 9/19/2022, 3:14:40 PM
   */
    @Trace(operationName = "B2-3新增配置项下选项关系(平台)")
    @Tags({@Tag(key = "参数",value = "arg[0]"),
            @Tag(key = "返回值",value = "returnedObj")})
  @Override
  public BffAddConfItemOptionRespDto addConfItemOption(BffAddConfItemOptionReqDto reqDto){
      
       
       AddConfItemOptionRespDto addConfItemOptionRespDto_1 =null;
//步骤0: D2-3新增配置项下选项关系 - addConfItemOption
     AddConfItemOptionRespDto addConfItemOptionRespDto = null;
    AddConfItemOptionReqDto addConfItemOptionReqDto=new AddConfItemOptionReqDto();
  if(reqDto!=null){
      addConfItemOptionReqDto.setConfItemId(reqDto.getConfItemId());//sourceId:128764_1
addConfItemOptionReqDto.setConfItemCode(reqDto.getConfItemCode());//sourceId:128765_1
addConfItemOptionReqDto.setConfOptionId(reqDto.getConfOptionId());//sourceId:128766_1
addConfItemOptionReqDto.setConfOptionCode(reqDto.getConfOptionCode());//sourceId:128767_1
addConfItemOptionReqDto.setConfOptionName(reqDto.getConfOptionName());//sourceId:128768_1
    }
  
    /*D2-3新增配置项下选项关系[3323]   */
    Assert.isNull(addConfItemOptionReqDto.getConfItemId(),"B2-3新增配置项下选项关系(平台)-D2-3新增配置项下选项关系-冗余配置项ID不能为空",false);
Assert.isNull(addConfItemOptionReqDto.getConfItemCode(),"B2-3新增配置项下选项关系(平台)-D2-3新增配置项下选项关系-配置项标识不能为空",false);
Assert.isNull(addConfItemOptionReqDto.getConfOptionId(),"B2-3新增配置项下选项关系(平台)-D2-3新增配置项下选项关系-冗余选项ID不能为空",false);
Assert.isNull(addConfItemOptionReqDto.getConfOptionCode(),"B2-3新增配置项下选项关系(平台)-D2-3新增配置项下选项关系-选项标识不能为空",false);
Assert.isNull(addConfItemOptionReqDto.getConfOptionName(),"B2-3新增配置项下选项关系(平台)-D2-3新增配置项下选项关系-冗余选项名称不能为空",false);
      addConfItemOptionRespDto = fwCompConfSchemeClient.addConfItemOption(addConfItemOptionReqDto).getData();
      
      
      addConfItemOptionRespDto_1 = addConfItemOptionRespDto;
    
BffAddConfItemOptionRespDto retData = new BffAddConfItemOptionRespDto();
  if(addConfItemOptionRespDto_1!=null){
      retData.setConfOptionRshipId(addConfItemOptionRespDto_1.getConfOptionRshipId());//sourceId:128775_1
    }
  

  
  
return retData;
  }
/**
   * B2-3新增配置项下选项（平台）[1968]
   * gen by moon at 5/31/2023, 11:35:47 PM
   */
    @Trace(operationName = "B2-3新增配置项下选项（平台）")
    @Tags({@Tag(key = "参数",value = "arg[0]"),
            @Tag(key = "返回值",value = "returnedObj")})
  @Override
  public BffAddConfItemConfOptionRespDto addConfItemConfOption(BffAddConfItemConfOptionReqDto reqDto){
      
       
       AddConfItemConfOptionRespDto addConfItemConfOptionRespDto_1 = null;
//步骤0: D2-3新增配置项下选项 - addConfItemConfOption
     AddConfItemConfOptionRespDto addConfItemConfOptionRespDto = null;
    AddConfItemConfOptionReqDto addConfItemConfOptionReqDto=new AddConfItemConfOptionReqDto();
  if(reqDto!=null){
      addConfItemConfOptionReqDto.setConfItemId(reqDto.getConfItemId());//SimpleFieldAssign//sourceId:62631_1
addConfItemConfOptionReqDto.setConfItemCode(reqDto.getConfItemCode());//SimpleFieldAssign//sourceId:59966_1
addConfItemConfOptionReqDto.setConfOptionName(reqDto.getConfOptionName());//SimpleFieldAssign//sourceId:59967_1
addConfItemConfOptionReqDto.setConfOptionCode(reqDto.getConfOptionCode());//SimpleFieldAssign//sourceId:59968_1
addConfItemConfOptionReqDto.setConfOptionDes(reqDto.getConfOptionDes());//SimpleFieldAssign//sourceId:103463_1
    }
  
    /*D2-3新增配置项下选项[2055]   */
    Assert.isNull(addConfItemConfOptionReqDto.getConfItemId(),"B2-3新增配置项下选项（平台）-D2-3新增配置项下选项-冗余配置项ID不能为空",false);
Assert.isNull(addConfItemConfOptionReqDto.getConfItemCode(),"B2-3新增配置项下选项（平台）-D2-3新增配置项下选项-配置项标识不能为空",false);
Assert.isNull(addConfItemConfOptionReqDto.getConfOptionName(),"B2-3新增配置项下选项（平台）-D2-3新增配置项下选项-选项名称不能为空",false);
Assert.isNull(addConfItemConfOptionReqDto.getConfOptionCode(),"B2-3新增配置项下选项（平台）-D2-3新增配置项下选项-选项标识不能为空",false);
      addConfItemConfOptionRespDto = fwCompConfSchemeClient.addConfItemConfOption(addConfItemConfOptionReqDto).getData()/*vcase invoke 跨dubbo调用;*/;

      
      addConfItemConfOptionRespDto_1 = addConfItemConfOptionRespDto;
    
BffAddConfItemConfOptionRespDto retData = new BffAddConfItemConfOptionRespDto();
  if(addConfItemConfOptionRespDto_1!=null){
      retData.setConfOptionId(addConfItemConfOptionRespDto_1.getConfOptionId());//SimpleFieldAssign//sourceId:59978_1
retData.setConfOptionRshipId(addConfItemConfOptionRespDto_1.getConfOptionRshipId());//SimpleFieldAssign//sourceId:59979_1
    }
  

  
  
return retData;
  }
/**
   * B2-3修改分组下配置项扩展信息(管理)[3211]
   * gen by moon at 8/10/2022, 2:36:34 PM
   */
    @Trace(operationName = "B2-3修改分组下配置项扩展信息(管理)")
    @Tags({@Tag(key = "参数",value = "arg[0]"),
            @Tag(key = "返回值",value = "returnedObj")})
  @Override
  public BffUpdateConfClassItEmextendInfoRespDto updateConfClassItEmextendInfo(BffUpdateConfClassItEmextendInfoReqDto reqDto){
      
       
       //步骤0: D2-3修改分组下配置项扩展信息 - updateConfClassItEmextendInfo
     UpdateConfClassItEmextendInfoRespDto updateConfClassItEmextendInfoRespDto = null;
    UpdateConfClassItEmextendInfoReqDto updateConfClassItEmextendInfoReqDto=new UpdateConfClassItEmextendInfoReqDto();
  if(reqDto!=null){
      updateConfClassItEmextendInfoReqDto.setClassConfItemId(reqDto.getClassConfItemId());//sourceId:121077_1
updateConfClassItEmextendInfoReqDto.setExtensionField1(reqDto.getExtensionField1());//sourceId:121078_1
updateConfClassItEmextendInfoReqDto.setExtensionField2(reqDto.getExtensionField2());//sourceId:121079_1
updateConfClassItEmextendInfoReqDto.setExtensionField3(reqDto.getExtensionField3());//sourceId:121080_1
updateConfClassItEmextendInfoReqDto.setThrowPlace(reqDto.getThrowPlace());//sourceId:136569_1
    }
  
    /*D2-3修改分组下配置项扩展信息[3213]   */
    Assert.isNull(updateConfClassItEmextendInfoReqDto.getClassConfItemId(),"B2-3修改分组下配置项扩展信息(管理)-D2-3修改分组下配置项扩展信息-分组配置项ID不能为空",false);
      updateConfClassItEmextendInfoRespDto = fwCompConfSchemeClient.updateConfClassItEmextendInfo(updateConfClassItEmextendInfoReqDto).getData();
      
      
    
BffUpdateConfClassItEmextendInfoRespDto retData = new BffUpdateConfClassItEmextendInfoRespDto();
  
  

  
  
return retData;
  }
/**
   * B2-3设置开通方案下选项配置结果(管理)[2134]
   * gen by moon at 12/7/2022, 2:39:00 AM
   */
    @Trace(operationName = "B2-3设置开通方案下选项配置结果(管理)")
    @Tags({@Tag(key = "参数",value = "arg[0]"),
            @Tag(key = "返回值",value = "returnedObj")})
  @Override
  public BffSetOpenConfItemResultRespDto setOpenConfItemResult(BffSetOpenConfItemResultReqDto reqDto){
      
       
       //步骤0: D2-3设置开通方案下选项配置结果 - setOpenConfItemResult
     SetOpenConfItemResultRespDto setOpenConfItemResultRespDto = null;
    SetOpenConfItemResultReqDto setOpenConfItemResultReqDto=new SetOpenConfItemResultReqDto();
  if(reqDto!= null&&  reqDto.getConfItemResultList() !=null&& !CollectionUtil.isEmpty(reqDto.getConfItemResultList())){
      setOpenConfItemResultReqDto.setConfItemResultList(reqDto.getConfItemResultList().stream().map(item -> BeanUtil.toBean(item, ConfItemResultDto.class)).collect(Collectors.toList()));//objList-to-objLists//sourceId:489890_1
    }
if(reqDto!=null){
      setOpenConfItemResultReqDto.setApplexRelId(reqDto.getApplexRelId());//SimpleFieldAssign//sourceId:489888_1
setOpenConfItemResultReqDto.setClassConfItemId(reqDto.getClassConfItemId());//SimpleFieldAssign//sourceId:489889_1
    }
  
    /*D2-3设置开通方案下选项配置结果[5407]   */
    Assert.isNull(setOpenConfItemResultReqDto.getApplexRelId(),"B2-3设置开通方案下选项配置结果(管理)-D2-3设置开通方案下选项配置结果-应用实例配置关系ID不能为空",false);
Assert.isNull(setOpenConfItemResultReqDto.getClassConfItemId(),"B2-3设置开通方案下选项配置结果(管理)-D2-3设置开通方案下选项配置结果-配置项关系ID不能为空",false);
      setOpenConfItemResultRespDto = fwCompConfSchemeClient.setOpenConfItemResult(setOpenConfItemResultReqDto).getData();
      
      
      
    
BffSetOpenConfItemResultRespDto retData = new BffSetOpenConfItemResultRespDto();
  
  

  
  
return retData;
  }
/**
   * B2-3重置开通方案下选项配置结果(平台)[2138]
   * gen by moon at 12/7/2022, 2:39:01 AM
   */
    @Trace(operationName = "B2-3重置开通方案下选项配置结果(平台)")
    @Tags({@Tag(key = "参数",value = "arg[0]"),
            @Tag(key = "返回值",value = "returnedObj")})
  @Override
  public BffResetOpenConfItemResultRespDto resetOpenConfItemResult(BffResetOpenConfItemResultReqDto reqDto){
      
       
       //步骤0: D2-3重置开通方案下选项定制配置结果 - resetOpenConfItemResult
     ResetOpenConfItemResultRespDto resetOpenConfItemResultRespDto = null;
    ResetOpenConfItemResultReqDto resetOpenConfItemResultReqDto=new ResetOpenConfItemResultReqDto();
  if(reqDto!=null){
      resetOpenConfItemResultReqDto.setApplexRelId(reqDto.getApplexRelId());//SimpleFieldAssign//sourceId:314747_1
resetOpenConfItemResultReqDto.setClassConfItemId(reqDto.getClassConfItemId());//SimpleFieldAssign//sourceId:314651_1
    }
  
    /*D2-3重置开通方案下选项定制配置结果[2140]   */
    Assert.isNull(resetOpenConfItemResultReqDto.getApplexRelId(),"B2-3重置开通方案下选项配置结果(平台)-D2-3重置开通方案下选项定制配置结果-应用实例配置关系ID不能为空",false);
Assert.isNull(resetOpenConfItemResultReqDto.getClassConfItemId(),"B2-3重置开通方案下选项配置结果(平台)-D2-3重置开通方案下选项定制配置结果-配置项关系ID不能为空",false);
      resetOpenConfItemResultRespDto = fwCompConfSchemeClient.resetOpenConfItemResult(resetOpenConfItemResultReqDto).getData();
      
      
      
    
BffResetOpenConfItemResultRespDto retData = new BffResetOpenConfItemResultRespDto();
  
  

  
  
return retData;
  }
/**
   * B2-3查询分组下配置项列表(管理)(边界)[2101]
   * gen by moon at 5/27/2023, 7:41:31 PM
   */
    @Trace(operationName = "B2-3查询分组下配置项列表(管理)(边界)")
    @Tags({@Tag(key = "参数",value = "arg[0]"),
            @Tag(key = "返回值",value = "returnedObj")})
  @Override
  public BffQueryConfClassItemListBorderRespDto queryConfClassItemListBorder(BffQueryConfClassItemListBorderReqDto reqDto){


       QueryConfClassItemListRespDto queryConfClassItemListRespDto_1 =null;
BatchQueryConfItemOptionRespDto batchQueryConfItemOptionRespDto_1 =null;
//步骤0: D2-3查询分组下配置项列表 - queryConfClassItemList
     QueryConfClassItemListRespDto queryConfClassItemListRespDto = null;
    QueryConfClassItemListReqDto queryConfClassItemListReqDto=new QueryConfClassItemListReqDto();
  if(reqDto!=null){
      queryConfClassItemListReqDto.setConfItemClassId(reqDto.getConfItemClassId());//SimpleFieldAssign//sourceId:61967_1
    }

    /*D2-3查询分组下配置项列表[1995]   */
    Assert.isNull(queryConfClassItemListReqDto.getConfItemClassId(),"B2-3查询分组下配置项列表(管理)(边界)-D2-3查询分组下配置项列表-方案分组ID不能为空",false);
      queryConfClassItemListRespDto = fwCompConfSchemeClient.queryConfClassItemList(queryConfClassItemListReqDto).getData()/*vcase invoke 跨dubbo调用;*/;
      Assert.isTrue(queryConfClassItemListRespDto== null||  queryConfClassItemListRespDto.getConfClassItemList() ==null|| CollectionUtil.isEmpty(queryConfClassItemListRespDto.getConfClassItemList())|| queryConfClassItemListRespDto.getConfClassItemList().size()==0 ,"找不到数据，系统异常",false);

      queryConfClassItemListRespDto_1 = queryConfClassItemListRespDto;

//步骤1: D2-3批量查询配置项下选项关系列表 - batchQueryConfItemOption
     BatchQueryConfItemOptionRespDto batchQueryConfItemOptionRespDto = null;
    if(queryConfClassItemListRespDto !=null){
          BatchQueryConfItemOptionReqDto batchQueryConfItemOptionReqDto=new BatchQueryConfItemOptionReqDto();
  if(queryConfClassItemListRespDto!= null&&  queryConfClassItemListRespDto.getConfClassItemList() !=null&& !CollectionUtil.isEmpty(queryConfClassItemListRespDto.getConfClassItemList())){
      batchQueryConfItemOptionReqDto.setConfItemOptionList(queryConfClassItemListRespDto.getConfClassItemList().stream().map(item->item.getConfItemId())
        .collect(Collectors.toList()));/*list-to-strings*///sourceId:63368_1
    }
if(reqDto!=null){
      batchQueryConfItemOptionReqDto.setApplexRelId(reqDto.getApplexRelId());//SimpleFieldAssign//sourceId:314739_1
batchQueryConfItemOptionReqDto.setResultAspObjId(reqDto.getResultAspObjId());//SimpleFieldAssign//sourceId:62031_1
batchQueryConfItemOptionReqDto.setConfSchemeCode(reqDto.getConfSchemeCode());//SimpleFieldAssign//sourceId:61980_1
batchQueryConfItemOptionReqDto.setConfSchemeId(reqDto.getConfSchemeId());//SimpleFieldAssign//sourceId:987270_1
    }

    /*D2-3批量查询配置项下选项关系列表[2126]   */

      batchQueryConfItemOptionRespDto = fwCompConfSchemeClient.batchQueryConfItemOption(batchQueryConfItemOptionReqDto).getData()/*vcase invoke 跨dubbo调用;*/;
      Assert.isTrue(batchQueryConfItemOptionRespDto== null||  batchQueryConfItemOptionRespDto.getConfItemOptionList() ==null|| CollectionUtil.isEmpty(batchQueryConfItemOptionRespDto.getConfItemOptionList())|| batchQueryConfItemOptionRespDto.getConfItemOptionList().size()==0 ,"找不到数据，系统异常",false);

      batchQueryConfItemOptionRespDto_1 = batchQueryConfItemOptionRespDto;
           }

BffQueryConfClassItemListBorderRespDto retData = new BffQueryConfClassItemListBorderRespDto();
  //todo dong 未找到匹配生成策略,请检查生成策略retData.setConfClassItemList(queryConfClassItemListRespDto_1.getConfClassItemList().getClassConfItemId()/queryConfClassItemListRespDto_1.getConfClassItemList().getConfItemId()/queryConfClassItemListRespDto_1.getConfClassItemList().getConfItemCode()/queryConfClassItemListRespDto_1.getConfClassItemList().getShortName()/queryConfClassItemListRespDto_1.getConfClassItemList().getConfItemCategory()/queryConfClassItemListRespDto_1.getConfClassItemList().getIsSingleResult()/queryConfClassItemListRespDto_1.getConfClassItemList().getIsSwitch()/queryConfClassItemListRespDto_1.getConfClassItemList().getIsVisible()/queryConfClassItemListRespDto_1.getConfClassItemList().getIsOpenCustomConf()/queryConfClassItemListRespDto_1.getConfClassItemList().getOrderNumber()/queryConfClassItemListRespDto_1.getConfClassItemList().getIsAllowUpdateAnswer()),数据源项; to( ==>tableName:undefined, fieldEnname:confClassItemList ,uniqueId: 62036_1 uniqueSourceId:out_null_null) from (varName:undefined fieldundefined)
//todo dong 未找到匹配生成策略,请检查生成策略retData.setConfItemOptionList(batchQueryConfItemOptionRespDto_1.getConfItemOptionList().getConfOptionRshipId()/batchQueryConfItemOptionRespDto_1.getConfItemOptionList().getConfItemId()/batchQueryConfItemOptionRespDto_1.getConfItemOptionList().getConfItemCode()/batchQueryConfItemOptionRespDto_1.getConfItemOptionList().getConfOptionId()/batchQueryConfItemOptionRespDto_1.getConfItemOptionList().getConfOptionCode()/batchQueryConfItemOptionRespDto_1.getConfItemOptionList().getConfOptionName()/batchQueryConfItemOptionRespDto_1.getConfItemOptionList().getOptionResultId()/batchQueryConfItemOptionRespDto_1.getConfItemOptionList().getEndValue()/batchQueryConfItemOptionRespDto_1.getConfItemOptionList().getExtensionField1()/batchQueryConfItemOptionRespDto_1.getConfItemOptionList().getExtensionField2()/batchQueryConfItemOptionRespDto_1.getConfItemOptionList().getOptionType()/batchQueryConfItemOptionRespDto_1.getConfItemOptionList().getResultType()/batchQueryConfItemOptionRespDto_1.getConfItemOptionList().getOrderNumber()/batchQueryConfItemOptionRespDto_1.getConfItemOptionList().getIsCeResult()/batchQueryConfItemOptionRespDto_1.getConfItemOptionList().getIsUltrResult()/batchQueryConfItemOptionRespDto_1.getConfItemOptionList().getIsPlatData()),数据源项; to( ==>tableName:undefined, fieldEnname:confItemOptionList ,uniqueId: 62037_1 uniqueSourceId:out_null_null) from (varName:undefined fieldundefined)


      List<Object> allNodes =new ArrayList<>();
      allNodes.addAll(retData.getConfClassItemList());
allNodes.addAll(retData.getConfItemOptionList());
     List<TreeNode> nodeList = CommonFunctionHelper.buildTree(allNodes);
     retData.setTreeNode(nodeList);
     retData.setConfClassItemList(null);
retData.setConfItemOptionList(null);

return retData;
  }
/**
   * B2获取进度用途类型背景图配置项标识(管理)[7271]
   * gen by moon at 6/28/2023, 4:39:50 PM
   */
    @Trace(operationName = "B2获取进度用途类型背景图配置项标识(管理)")
    @Tags({@Tag(key = "参数",value = "arg[0]"),
            @Tag(key = "返回值",value = "returnedObj")})
  @Override
  public BffObtainProgressUseTypeBgConfCodeRespDto obtainProgressUseTypeBgConfCode(BffObtainProgressUseTypeBgConfCodeReqDto reqDto){


       ObtainProgressUseTypeBgConfCodeComRespDto obtainProgressUseTypeBgConfCodeComRespDto_1 =null;
//步骤0: D2获取进度用途类型背景图配置项标识(公共) - obtainProgressUseTypeBgConfCodeCom
     ObtainProgressUseTypeBgConfCodeComRespDto obtainProgressUseTypeBgConfCodeComRespDto = null;
    ObtainProgressUseTypeBgConfCodeComReqDto obtainProgressUseTypeBgConfCodeComReqDto=new ObtainProgressUseTypeBgConfCodeComReqDto();
  if(reqDto!=null){
      obtainProgressUseTypeBgConfCodeComReqDto.setUseTypeCode(reqDto.getUseTypeCode());//SimpleFieldAssign//sourceId:1071143_1
    }

    /*D2获取进度用途类型背景图配置项标识(公共)[7267]   */
    Assert.isNull(obtainProgressUseTypeBgConfCodeComReqDto.getUseTypeCode(),"B2获取进度用途类型背景图配置项标识(管理)-D2获取进度用途类型背景图配置项标识(公共)-用途类型编码不能为空",false);
      obtainProgressUseTypeBgConfCodeComRespDto = fwCompConfSchemeClient.obtainProgressUseTypeBgConfCodeCom(obtainProgressUseTypeBgConfCodeComReqDto).getData()/*vcase invoke 跨dubbo调用;*/;


      obtainProgressUseTypeBgConfCodeComRespDto_1 = obtainProgressUseTypeBgConfCodeComRespDto;

BffObtainProgressUseTypeBgConfCodeRespDto retData = new BffObtainProgressUseTypeBgConfCodeRespDto();
  if(obtainProgressUseTypeBgConfCodeComRespDto_1!=null){
      retData.setConfItemCode(obtainProgressUseTypeBgConfCodeComRespDto_1.getConfItemCode());//SimpleFieldAssign//sourceId:1071146_1
    }




return retData;
  }


/**
   * B2执行平台配置方案推送redis（实施接口）[9645]
   * gen by moon at 5/24/2024, 12:11:22 AM
   */
    @Trace(operationName = "B2执行平台配置方案推送redis（实施接口）")
    @Tags({@Tag(key = "参数",value = "arg[0]"),
            @Tag(key = "返回值",value = "returnedObj")})
  @Override
  public BffImplementConfPushRedisRespDto implementConfPushRedis(BffImplementConfPushRedisReqDto reqDto){


       //步骤0: D2执行配置方案推送redis(公共) - implementConfPushRedisCom
     ImplementConfPushRedisComRespDto implementConfPushRedisComRespDto = null;
    ImplementConfPushRedisComReqDto implementConfPushRedisComReqDto=new ImplementConfPushRedisComReqDto();
  if(reqDto!=null){
      implementConfPushRedisComReqDto.setSpaceId(reqDto.getSpaceId());//SimpleFieldAssign//sourceId:1815730_1
    }

    /*D2执行配置方案推送redis(公共)[9644]   */
    Assert.isNull(implementConfPushRedisComReqDto.getSpaceId(),"B2执行平台配置方案推送redis（实施接口）-D2执行配置方案推送redis(公共)-空间ID不能为空",false);
      implementConfPushRedisComRespDto = fwCompConfSchemeClient.implementConfPushRedisCom(implementConfPushRedisComReqDto).getData()/*vcase invoke 跨dubbo调用;*/;




BffImplementConfPushRedisRespDto retData = new BffImplementConfPushRedisRespDto();





return retData;
  }
 //
}
